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

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

Issue 1027593005: [es6] remove --harmony-templates flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove extra references to harmony-templates stuff 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 unified diff | Download patch
« no previous file with comments | « test/mjsunit/es6/string-raw.js ('k') | test/mjsunit/harmony/string-raw.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-templates --harmony-unicode 5 // Flags: --harmony-unicode
6 6
7 var num = 5; 7 var num = 5;
8 var str = "str"; 8 var str = "str";
9 function fn() { return "result"; } 9 function fn() { return "result"; }
10 var obj = { 10 var obj = {
11 num: num, 11 num: num,
12 str: str, 12 str: str,
13 fn: function() { return "result"; } 13 fn: function() { return "result"; }
14 }; 14 };
15 15
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 raw.push("raw;" + text); 579 raw.push("raw;" + text);
580 return text; 580 return text;
581 } 581 }
582 assertEquals("test3", tag`test1``test2``test3`); 582 assertEquals("test3", tag`test1``test2``test3`);
583 assertEquals([ 583 assertEquals([
584 "tag;test1", 584 "tag;test1",
585 "tag;test2", 585 "tag;test2",
586 "raw;test3" 586 "raw;test3"
587 ], raw); 587 ], raw);
588 })(); 588 })();
OLDNEW
« no previous file with comments | « test/mjsunit/es6/string-raw.js ('k') | test/mjsunit/harmony/string-raw.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698