Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1412)

Unified Diff: test/intl/collator/default-locale.js

Issue 22715004: Version 3.20.15 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Add TypedArray API and correctness patches r16033 and r16084 Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/intl/collator/default-locale.js
diff --git a/test/intl/collator/default-locale.js b/test/intl/collator/default-locale.js
index db9b1e73304114df4c52933841899f895df1af30..f6ffba8e1d86a5082b6097b01a0e4bfef2b45ca3 100644
--- a/test/intl/collator/default-locale.js
+++ b/test/intl/collator/default-locale.js
@@ -38,7 +38,7 @@ assertFalse(options.locale === '');
assertFalse(options.locale === undefined);
// Then check for equality.
-assertEquals(options.locale, %GetDefaultICULocale());
+assertEquals(options.locale, getDefaultLocale());
var collatorNone = new Intl.Collator();
assertEquals(options.locale, collatorNone.resolvedOptions().locale);
@@ -48,5 +48,5 @@ var collatorBraket = new Intl.Collator({});
assertEquals(options.locale, collatorBraket.resolvedOptions().locale);
var collatorWithOptions = new Intl.Collator(undefined, {usage: 'search'});
-assertEquals(%GetDefaultICULocale() + '-u-co-search',
+assertEquals(getDefaultLocale() + '-u-co-search',
collatorWithOptions.resolvedOptions().locale);
« no previous file with comments | « test/intl/break-iterator/wellformed-unsupported-locale.js ('k') | test/intl/collator/wellformed-unsupported-locale.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698