Home | History | Annotate | Download | only in js

Lines Matching full:shouldbe

53   shouldBe("compileAndSerialize('" + expression + "')",
62 shouldBe("compileAndSerialize('" + expression + "')",
193 shouldBe("compileAndSerialize('(1)[a]()')",
196 shouldBe("compileAndSerialize('new (1)()')",
213 shouldBe("compileAndSerializeLeftmostTest('({ }).x')", "'({ }).x'");
214 shouldBe("compileAndSerializeLeftmostTest('x = { }')", "'x = { }'");
215 shouldBe("compileAndSerializeLeftmostTest('(function () { })()')", "'(function () { })()'");
216 shouldBe("compileAndSerializeLeftmostTest('x = function () { }')", "'x = function () { }'");
218 shouldBe("compileAndSerializeLeftmostTest('var a')", "'var a'");
219 shouldBe("compileAndSerializeLeftmostTest('var a = 1')", "'var a = 1'");
220 shouldBe("compileAndSerializeLeftmostTest('var a, b')", "'var a, b'");
221 shouldBe("compileAndSerializeLeftmostTest('var a = 1, b = 2')", "'var a = 1, b = 2'");
222 shouldBe("compileAndSerializeLeftmostTest('var a, b, c')", "'var a, b, c'");
223 shouldBe("compileAndSerializeLeftmostTest('var a = 1, b = 2, c = 3')", "'var a = 1, b = 2, c = 3'");
225 shouldBe("compileAndSerializeLeftmostTest('const a = 1')", "'const a = 1'");
226 shouldBe("compileAndSerializeLeftmostTest('const a = (1, 2)')", "'const a = (1, 2)'");
227 shouldBe("compileAndSerializeLeftmostTest('const a, b = 1')", "'const a, b = 1'");
228 shouldBe("compileAndSerializeLeftmostTest('const a = 1, b')", "'const a = 1, b'");
229 shouldBe("compileAndSerializeLeftmostTest('const a = 1, b = 1')", "'const a = 1, b = 1'");
230 shouldBe("compileAndSerializeLeftmostTest('const a = (1, 2), b = 1')", "'const a = (1, 2), b = 1'");
231 shouldBe("compileAndSerializeLeftmostTest('const a = 1, b = (1, 2)')", "'const a = 1, b = (1, 2)'");
232 shouldBe("compileAndSerializeLeftmostTest('const a = (1, 2), b = (1, 2)')", "'const a = (1, 2), b = (1, 2)'");
234 shouldBe("compileAndSerialize('(function () { new (a.b()).c })')", "'(function () { new (a.b()).c })'");