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

Unified Diff: test/mjsunit/regress/regress-builtinbust-7.js

Issue 2587703002: [intl] Avoid modifying options bag from constructor (Closed)
Patch Set: Fix test expectations Created 4 years 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
« no previous file with comments | « test/intl/date-format/unmodified-options.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-builtinbust-7.js
diff --git a/test/mjsunit/regress/regress-builtinbust-7.js b/test/mjsunit/regress/regress-builtinbust-7.js
index a7c049e9086088f0825d06114a4557fce4efbb64..8581eead7fca39073d9d056e5b3cbf62997950ea 100644
--- a/test/mjsunit/regress/regress-builtinbust-7.js
+++ b/test/mjsunit/regress/regress-builtinbust-7.js
@@ -24,7 +24,7 @@ if ("Intl" in this) {
assertDoesNotThrow(function() {
date.toLocaleDateString("de-DE", options_incomplete);
});
- assertTrue(options_incomplete.hasOwnProperty("year"));
+ assertFalse(options_incomplete.hasOwnProperty("year"));
assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", undefined); });
assertDoesNotThrow(function() { date.toLocaleDateString("de-DE"); });
« no previous file with comments | « test/intl/date-format/unmodified-options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698