diff options
author | 2023-08-19 13:58:39 -0700 | |
---|---|---|
committer | 2023-08-19 13:58:39 -0700 | |
commit | d39f60f49b76ad1a4a86152408a8166be9ac87e2 (patch) | |
tree | cd8bdf522c0ebf648278678846bb79dae300af59 /test/bundler/bundler_string.test.ts | |
parent | b9c3db7ff914cd0c50b2ac680c35e2fbf58a0498 (diff) | |
download | bun-dave/bundler-string-length.tar.gz bun-dave/bundler-string-length.tar.zst bun-dave/bundler-string-length.zip |
remove `dedent` library from testsdave/bundler-string-length
Diffstat (limited to '')
-rw-r--r-- | test/bundler/bundler_string.test.ts | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/test/bundler/bundler_string.test.ts b/test/bundler/bundler_string.test.ts index 45faaee3e..22f717198 100644 --- a/test/bundler/bundler_string.test.ts +++ b/test/bundler/bundler_string.test.ts @@ -1,5 +1,5 @@ import assert from "assert"; -import dedent from "dedent"; +import dedent from "./dedent"; import { itBundled, testForFile } from "./expectBundled"; var { describe, test, expect } = testForFile(import.meta.path); @@ -194,24 +194,26 @@ describe("bundler", () => { }, bundling: false, run: { - stdout: `hello - hello - hello world hello - hellohellohello world hello - ππ - ππ π hello - hellohellohello world hellohellohellohello world helloππππ π hello - a-f\d - #?[a-f\d]{3}[a-f\d]? - #?[a-f\d]{6}([a-f\d]{2})? - /[^#a-f\d]/gi - /^#?[a-f\d]{3}[a-f\d]?$|^#?[a-f\d]{6}([a-f\d]{2})?$/i - kNAME=OOPSj - dOOPS - OOPSl - dOOPSl - CONST_VALUE - true`, + stdout: ` + hello + hello + hello world hello + hellohellohello world hello + ππ + ππ π hello + hellohellohello world hellohellohellohello world helloππππ π hello + a-f\d + #?[a-f\d]{3}[a-f\d]? + #?[a-f\d]{6}([a-f\d]{2})? + /[^#a-f\d]/gi + /^#?[a-f\d]{3}[a-f\d]?$|^#?[a-f\d]{6}([a-f\d]{2})?$/i + kNAME=OOPSj + dOOPS + OOPSl + dOOPSl + CONST_VALUE + true + `, }, }); }); |