mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 16:54:57 +00:00
6 lines
199 B
JavaScript
6 lines
199 B
JavaScript
test("slash token resolution in lexer", () => {
|
|
expect(`{ blah.blah; }\n/foo/`).toEval();
|
|
expect("``/foo/").not.toEval();
|
|
expect("1/foo/").not.toEval();
|
|
expect("1/foo").toEval();
|
|
});
|