diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-18 11:59:05 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-18 12:20:59 -0400 |
| commit | ee9cfb5a60cbe68c7daa5e7edd292486e697bfa4 (patch) | |
| tree | 9e0f03b89f28a3972330206d80fcd056e5644977 /testdata/005_more_imports.ts | |
| parent | 8f0e242f4bfb5df1039c2d18516b4de7e1af7745 (diff) | |
Add testdata/005_more_imports.ts
Diffstat (limited to 'testdata/005_more_imports.ts')
| -rw-r--r-- | testdata/005_more_imports.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testdata/005_more_imports.ts b/testdata/005_more_imports.ts new file mode 100644 index 000000000..52dd1df7b --- /dev/null +++ b/testdata/005_more_imports.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"); +} |
