Skip to content
Snippets Groups Projects
Commit 8f713575 authored by Frank Yung-Fong Tang's avatar Frank Yung-Fong Tang Committed by Rick Waldron
Browse files

Move testing of getCanonicalLocales out of Locale

Remove all the assertion of result of getCanonicalLocales from Locale directory
and put them under Intl/getCanonicalLocales directory.
parent 6e4b4345
No related branches found
No related tags found
No related merge requests found
......@@ -75,12 +75,6 @@ var testData = [
];
for (const {tag, canonical = tag, maximized = canonical, minimized = canonical} of testData) {
assert.sameValue(
Intl.getCanonicalLocales(tag)[0],
canonical,
'The value of Intl.getCanonicalLocales(tag)[0] equals the value of `canonical`'
);
const loc = new Intl.Locale(tag);
assert.sameValue(
new Intl.Locale(tag).toString(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment