diff options
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/001_hello.js (renamed from testdata/hello_world.js) | 0 | ||||
| -rw-r--r-- | testdata/001_hello.js.out (renamed from testdata/hello_world.js.out) | 0 | ||||
| -rw-r--r-- | testdata/002_hello.ts (renamed from testdata/hello_world.ts) | 0 | ||||
| -rw-r--r-- | testdata/002_hello.ts.out (renamed from testdata/hello_world.ts.out) | 0 | ||||
| -rw-r--r-- | testdata/003_relative_import.ts | 3 | ||||
| -rw-r--r-- | testdata/003_relative_import.ts.out | 1 | ||||
| -rw-r--r-- | testdata/subdir/print_hello.ts | 3 |
7 files changed, 7 insertions, 0 deletions
diff --git a/testdata/hello_world.js b/testdata/001_hello.js index accefceba..accefceba 100644 --- a/testdata/hello_world.js +++ b/testdata/001_hello.js diff --git a/testdata/hello_world.js.out b/testdata/001_hello.js.out index 557db03de..557db03de 100644 --- a/testdata/hello_world.js.out +++ b/testdata/001_hello.js.out diff --git a/testdata/hello_world.ts b/testdata/002_hello.ts index accefceba..accefceba 100644 --- a/testdata/hello_world.ts +++ b/testdata/002_hello.ts diff --git a/testdata/hello_world.ts.out b/testdata/002_hello.ts.out index 557db03de..557db03de 100644 --- a/testdata/hello_world.ts.out +++ b/testdata/002_hello.ts.out diff --git a/testdata/003_relative_import.ts b/testdata/003_relative_import.ts new file mode 100644 index 000000000..01d5d7faa --- /dev/null +++ b/testdata/003_relative_import.ts @@ -0,0 +1,3 @@ +import { printHello } from "./subdir/print_hello.ts"; + +printHello(); diff --git a/testdata/003_relative_import.ts.out b/testdata/003_relative_import.ts.out new file mode 100644 index 000000000..e965047ad --- /dev/null +++ b/testdata/003_relative_import.ts.out @@ -0,0 +1 @@ +Hello diff --git a/testdata/subdir/print_hello.ts b/testdata/subdir/print_hello.ts new file mode 100644 index 000000000..7ecce5040 --- /dev/null +++ b/testdata/subdir/print_hello.ts @@ -0,0 +1,3 @@ +export function printHello(): void { + console.log("Hello"); +} |
