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

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

Issue 2502933002: [regexp] implement latest spec draft for property class. (Closed)
Patch Set: fix test Created 4 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // Flags: --harmony-regexp-property
6
7 assertThrows("/\p{Block=ASCII}+/u");
8 assertThrows("/\p{Block=ASCII}+/u");
9 assertThrows("/\p{Block=Basic_Latin}+/u");
10 assertThrows("/\p{Block=Basic_Latin}+/u");
11
12 assertThrows("/\p{blk=CJK}+/u");
13 assertThrows("/\p{blk=CJK_Unified_Ideographs}+/u");
14 assertThrows("/\p{blk=CJK}+/u");
15 assertThrows("/\p{blk=CJK_Unified_Ideographs}+/u");
16
17 assertThrows("/\p{Block=ASCII}+/u");
18 assertThrows("/\p{Block=ASCII}+/u");
19 assertThrows("/\p{Block=Basic_Latin}+/u");
20 assertThrows("/\p{Block=Basic_Latin}+/u");
21
22 assertThrows("/\p{NFKD_Quick_Check=Y}+/u");
23 assertThrows("/\p{NFKD_QC=Yes}+/u");
24
25 assertThrows("/\p{Numeric_Type=Decimal}+/u");
26 assertThrows("/\p{nt=De}+/u");
27
28 assertThrows("/\p{Bidi_Class=Arabic_Letter}+/u");
29 assertThrows("/\p{Bidi_Class=AN}+/u");
30
31 assertThrows("/\p{ccc=OV}+/u");
32
33 assertThrows("/\p{Sentence_Break=Format}+/u");
34
35 assertThrows("/\\p{In}/u");
36 assertThrows("/\\pI/u");
37 assertThrows("/\\p{I}/u");
38 assertThrows("/\\p{CJK}/u");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698