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

Unified Diff: test/intl/date-format/default-locale.js

Issue 21512002: Reenable tests that need to access the default timezone. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/date-format/default-locale.js
diff --git a/test/intl/date-format/default-locale.js b/test/intl/date-format/default-locale.js
index 2dcb0f8ae7463832d1d08c4ebe617718cd4454b4..8e9b7fcec3e16e0bc4a6ce18d1584d0664f3f02e 100644
--- a/test/intl/date-format/default-locale.js
+++ b/test/intl/date-format/default-locale.js
@@ -38,7 +38,7 @@ assertFalse(options.locale === '');
assertFalse(options.locale === undefined);
// Then check for equality.
-assertEquals(options.locale, getDefaultLocale());
+assertEquals(options.locale, %GetDefaultICULocale());
var dtfNone = new Intl.DateTimeFormat();
assertEquals(options.locale, dtfNone.resolvedOptions().locale);
« no previous file with comments | « test/intl/collator/wellformed-unsupported-locale.js ('k') | test/intl/date-format/wellformed-unsupported-locale.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698