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