Lines Matching refs:assert
18 assert (r.source == "(?:)");
19 assert (r.global == false);
20 assert (r.ignoreCase == false);
21 assert (r.multiline == false);
24 assert (r.source == "a");
25 assert (r.global == false);
26 assert (r.ignoreCase == false);
27 assert (r.multiline == false);
30 assert (r.source == "a");
31 assert (r.global == true);
32 assert (r.ignoreCase == true);
33 assert (r.multiline == true);
36 assert (r.source == "a");
37 assert (r.global == false);
38 assert (r.ignoreCase == false);
39 assert (r.multiline == false);
42 assert (r.source == "a");
43 assert (r.global == true);
44 assert (r.ignoreCase == true);
45 assert (r.multiline == true);
50 assert (r2.source == "a");
51 assert (r2.global == true);
52 assert (r2.ignoreCase == true);
53 assert (r2.multiline == true);
56 assert (r2.source == "a");
57 assert (r2.global == true);
58 assert (r2.ignoreCase == true);
59 assert (r2.multiline == true);
62 assert (r.source == "(?:)");
63 assert (r.global == false);
64 assert (r.ignoreCase == false);
65 assert (r.multiline == false);
68 assert (r.source == "a");
69 assert (r.global == false);
70 assert (r.ignoreCase == false);
71 assert (r.multiline == false);
74 assert (r.source == "a");
75 assert (r.global == true);
76 assert (r.ignoreCase == true);
77 assert (r.multiline == true);
87 assert (r1.source === r2.source);
88 assert (r2.source === r3.source);
91 assert (r.source === "foo");
92 assert (r.global === false);
93 assert (r.ignoreCase === false);
94 assert (r.multiline === false);
97 assert (r.source === "foo");
98 assert (r.global === false);
99 assert (r.ignoreCase === false);
100 assert (r.multiline === false);
104 assert (false);
106 assert (e instanceof SyntaxError);
111 assert (false);
113 assert (e instanceof SyntaxError);
118 assert (false);
120 assert (e instanceof SyntaxError);
124 assert (r.source == "(?:)");
125 assert (r.global == false);
126 assert (r.ignoreCase == false);
127 assert (r.multiline == false);
130 assert (RegExp.length === 2);