From 7fe656f4b9ab594035f7c0b6c0c68ca41871daca Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 1 Aug 2018 16:30:19 -0400 Subject: Add 005_more_imports.ts And run check_output_test in order. --- tests/005_more_imports.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/005_more_imports.ts (limited to 'tests/005_more_imports.ts') diff --git a/tests/005_more_imports.ts b/tests/005_more_imports.ts new file mode 100644 index 000000000..52dd1df7b --- /dev/null +++ b/tests/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