diff options
Diffstat (limited to 'test/bun.js/transpiler.test.js')
-rw-r--r-- | test/bun.js/transpiler.test.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test/bun.js/transpiler.test.js b/test/bun.js/transpiler.test.js index 05607091a..dcc7f397a 100644 --- a/test/bun.js/transpiler.test.js +++ b/test/bun.js/transpiler.test.js @@ -1774,12 +1774,17 @@ class Foo { check( ` -const a = "[^aeiou]"; -const b = a + "[^aeiouy]*"; -console.log(a, b); +const a = "a"; +const c = "b" + a; +const b = c + a; +const d = b + a; +console.log(a, b, c, d); `, ` -console.log("[^aeiou]", "[^aeiou][^aeiouy]*"); +const c = "ba"; +const b = c + "a"; +const d = b + "a"; +console.log("a", b, c, d); `.trim(), ); |