Lines Matching refs:assertTrue
33 assertTrue(/^bar/.test("bar"));
34 assertTrue(/^bar/.test("bar\nfoo"));
36 assertTrue(/^bar/m.test("bar"));
37 assertTrue(/^bar/m.test("bar\nfoo"));
38 assertTrue(/^bar/m.test("foo\nbar"));
40 assertTrue(/bar$/.test("bar"));
42 assertTrue(/bar$/.test("foo\nbar"));
43 assertTrue(/bar$/m.test("bar"));
44 assertTrue(/bar$/m.test("bar\nfoo"));
45 assertTrue(/bar$/m.test("foo\nbar"));
60 assertTrue(/^.*$/.test(""));
61 assertTrue(/^.*$/.test("foo"));
63 assertTrue(/^.*$/m.test("\n"));
65 assertTrue(/^[\s]*$/.test(" "));
66 assertTrue(/^[\s]*$/.test("\n"));
68 assertTrue(/^[^]*$/.test(""));
69 assertTrue(/^[^]*$/.test("foo"));
70 assertTrue(/^[^]*$/.test("\n"));
72 assertTrue(/^([()\s]|.)*$/.test("()\n()"));
73 assertTrue(/^([()\n]|.)*$/.test("()\n()"));
75 assertTrue(/^([()]|.)*$/m.test("()\n()"));
76 assertTrue(/^([()]|.)*$/m.test("()\n"));
77 assertTrue(/^[()]*$/m.test("()\n."));
79 assertTrue(/^[\].]*$/.test("...]..."));
86 assertTrue(a.test(uc));
91 assertTrue(A.test(lc));
96 assertTrue(a.test(uc));
101 assertTrue(A.test(lc));