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

Side by Side Diff: test/mjsunit/es6/templates.js

Issue 1271073002: Delete --harmony-unicode flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase and reformat comment Created 5 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 unified diff | Download patch
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/mjsunit/es6/unicode-escapes.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --harmony-unicode
6
7 var num = 5; 5 var num = 5;
8 var str = "str"; 6 var str = "str";
9 function fn() { return "result"; } 7 function fn() { return "result"; }
10 var obj = { 8 var obj = {
11 num: num, 9 num: num,
12 str: str, 10 str: str,
13 fn: function() { return "result"; } 11 fn: function() { return "result"; }
14 }; 12 };
15 13
16 (function testBasicExpressions() { 14 (function testBasicExpressions() {
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 assertEquals("-1-2-3-", tag`-${subs[0]}-${subs[1]}-${subs[2]}-`); 690 assertEquals("-1-2-3-", tag`-${subs[0]}-${subs[1]}-${subs[2]}-`);
693 assertArrayEquals(["get0", "get1", "get2"], log); 691 assertArrayEquals(["get0", "get1", "get2"], log);
694 assertArrayEquals([1, 2, 3], tagged); 692 assertArrayEquals([1, 2, 3], tagged);
695 693
696 tagged.length = 0; 694 tagged.length = 0;
697 log.length = 0; 695 log.length = 0;
698 assertEquals("-1-", tag`-${subs[0]}-`); 696 assertEquals("-1-", tag`-${subs[0]}-`);
699 assertArrayEquals(["get0"], log); 697 assertArrayEquals(["get0"], log);
700 assertArrayEquals([1], tagged); 698 assertArrayEquals([1], tagged);
701 })(); 699 })();
OLDNEW
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/mjsunit/es6/unicode-escapes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698