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

Side by Side Diff: test/mjsunit/harmony/regexp-property-scripts.js

Issue 2096933002: Remove all harmony runtime flags which shipped in M51 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments Created 4 years, 6 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
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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-regexp-property --harmony-unicode-regexps 5 // Flags: --harmony-regexp-property
6 6
7 function t(re, s) { assertTrue(re.test(s)); } 7 function t(re, s) { assertTrue(re.test(s)); }
8 function f(re, s) { assertFalse(re.test(s)); } 8 function f(re, s) { assertFalse(re.test(s)); }
9 9
10 t(/\p{Script=Common}+/u, "."); 10 t(/\p{Script=Common}+/u, ".");
11 f(/\p{Script=Common}+/u, "supercalifragilisticexpialidocious"); 11 f(/\p{Script=Common}+/u, "supercalifragilisticexpialidocious");
12 12
13 t(/\p{Script=Han}+/u, "话说天下大势,分久必合,合久必分"); 13 t(/\p{Script=Han}+/u, "话说天下大势,分久必合,合久必分");
14 t(/\p{Script=Hani}+/u, "吾庄后有一桃园,花开正盛"); 14 t(/\p{Script=Hani}+/u, "吾庄后有一桃园,花开正盛");
15 f(/\p{Script=Han}+/u, "おはようございます"); 15 f(/\p{Script=Han}+/u, "おはようございます");
(...skipping 14 matching lines...) Expand all
30 t(/\p{sc=Phoenician}/u, "\u{10900}\u{1091a}"); 30 t(/\p{sc=Phoenician}/u, "\u{10900}\u{1091a}");
31 t(/\p{sc=Phnx}/u, "\u{1091f}\u{10916}"); 31 t(/\p{sc=Phnx}/u, "\u{1091f}\u{10916}");
32 f(/\p{sc=Phoenician}/u, "Arthur est un perroquet"); 32 f(/\p{sc=Phoenician}/u, "Arthur est un perroquet");
33 f(/\p{sc=Phnx}/u, "设心狠毒非良士,操卓原来一路人"); 33 f(/\p{sc=Phnx}/u, "设心狠毒非良士,操卓原来一路人");
34 34
35 t(/\p{sc=Grek}/u, "ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ"); 35 t(/\p{sc=Grek}/u, "ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ");
36 t(/\p{sc=Greek}/u, "μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος"); 36 t(/\p{sc=Greek}/u, "μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος");
37 f(/\p{sc=Greek}/u, "高贤未服英雄志,屈节偏生杰士疑"); 37 f(/\p{sc=Greek}/u, "高贤未服英雄志,屈节偏生杰士疑");
38 f(/\p{sc=Greek}/u, 38 f(/\p{sc=Greek}/u,
39 "Mr. Jones, of the Manor Farm, had locked the hen-houses for the night"); 39 "Mr. Jones, of the Manor Farm, had locked the hen-houses for the night");
OLDNEW
« no previous file with comments | « test/mjsunit/harmony/regexp-property-lu-ui.js ('k') | test/mjsunit/harmony/regexp-property-special.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698