summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests/syntax/slash-after-block.js
blob: 67839147f9153af01e4c4c4790e88526baedb0f4 (plain)
1
2
3
4
5
6
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();
});