diff options
Diffstat (limited to 'tests/testdata/run/single_compile_with_reload_dyn.ts')
-rw-r--r-- | tests/testdata/run/single_compile_with_reload_dyn.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testdata/run/single_compile_with_reload_dyn.ts b/tests/testdata/run/single_compile_with_reload_dyn.ts new file mode 100644 index 000000000..6c96fac64 --- /dev/null +++ b/tests/testdata/run/single_compile_with_reload_dyn.ts @@ -0,0 +1,11 @@ +import { printHello3, returnsFoo2, returnsHi } from "../subdir/mod1.ts"; + +printHello3(); + +if (returnsHi() !== "Hi") { + throw Error("Unexpected"); +} + +if (returnsFoo2() !== "Foo") { + throw Error("Unexpected"); +} |