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

Unified Diff: test/mjsunit/es6/templates.js

Issue 1049523003: Re-write duplicated assertions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Updated to include necessary change to AUTHORS file Created 5 years, 9 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
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/templates.js
diff --git a/test/mjsunit/es6/templates.js b/test/mjsunit/es6/templates.js
index 15296e87227cc963e4fa7c98fb4c5d6d024aab5e..0734f0e5d06936db4d7a6b684243894adaa0e1da 100644
--- a/test/mjsunit/es6/templates.js
+++ b/test/mjsunit/es6/templates.js
@@ -305,9 +305,9 @@ var obj = {
assertTrue(cooked0.enumerable);
var raw0 = Object.getOwnPropertyDescriptor(cs.raw, "0");
- assertFalse(cooked0.writable);
- assertFalse(cooked0.configurable);
- assertTrue(cooked0.enumerable);
+ assertFalse(raw0.writable);
+ assertFalse(raw0.configurable);
+ assertTrue(raw0.enumerable);
var length = Object.getOwnPropertyDescriptor(cs, "length");
assertFalse(length.writable);
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698