aboutsummaryrefslogtreecommitdiff
path: root/test/bundler/bundler_string.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/bundler/bundler_string.test.ts')
-rw-r--r--test/bundler/bundler_string.test.ts40
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
+ `,
},
});
});