From ee9cfb5a60cbe68c7daa5e7edd292486e697bfa4 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 18 May 2018 11:59:05 -0400 Subject: Add testdata/005_more_imports.ts --- testdata/005_more_imports.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testdata/005_more_imports.ts (limited to 'testdata/005_more_imports.ts') 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"); +} -- cgit v1.2.3