diff options
author | 2023-08-19 13:10:43 -0700 | |
---|---|---|
committer | 2023-08-19 13:10:43 -0700 | |
commit | b9c3db7ff914cd0c50b2ac680c35e2fbf58a0498 (patch) | |
tree | 75b26472663b6c4bc328498fb349a11f2409e842 /test | |
parent | 86ad0151479c96314233c2d7dfbf7ed83b57feab (diff) | |
download | bun-b9c3db7ff914cd0c50b2ac680c35e2fbf58a0498.tar.gz bun-b9c3db7ff914cd0c50b2ac680c35e2fbf58a0498.tar.zst bun-b9c3db7ff914cd0c50b2ac680c35e2fbf58a0498.zip |
fix minified "\n".length
Diffstat (limited to 'test')
-rw-r--r-- | test/bundler/bundler_minify.test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/bundler/bundler_minify.test.ts b/test/bundler/bundler_minify.test.ts index 17286f6b8..5c77e70e6 100644 --- a/test/bundler/bundler_minify.test.ts +++ b/test/bundler/bundler_minify.test.ts @@ -27,6 +27,7 @@ describe("bundler", () => { capture(\`😋📋👌\`.length == 6) capture(\`😋📋👌\`.length === 2) capture(\`😋📋👌\`.length == 2) + capture("hello\\nworld".length) `, }, capture: [ @@ -50,6 +51,7 @@ describe("bundler", () => { "!0", "!1", "!1", + "11", ], minifySyntax: true, target: "bun", |