Skip to content

Commit

Permalink
Add tests/003_relative_import.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jul 29, 2018
1 parent 5d146ed commit 57c52a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/003_relative_import.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { printHello } from "./subdir/print_hello.ts";

printHello();
1 change: 1 addition & 0 deletions tests/003_relative_import.ts.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello
3 changes: 3 additions & 0 deletions tests/subdir/print_hello.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function printHello(): void {
console.log("Hello");
}

0 comments on commit 57c52a8

Please sign in to comment.