diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-10-01 20:33:15 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 20:33:15 +1000 |
commit | e077b93d77d42f805ceb7a58cdc3c42255c0a30b (patch) | |
tree | f9b2f9c3826d43438028fa4b74c7846b352062a2 /cli/tests | |
parent | ef5ae4547a4eb0a2fc2309a9dac934275b86ae82 (diff) |
refactor: add concept of 'legacy' compiler to enable non-breaking refactoring (#7762)
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration_tests.rs | 2 | ||||
-rw-r--r-- | cli/tests/type_directives_01.ts.out | 2 | ||||
-rw-r--r-- | cli/tests/type_directives_02.ts.out | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 106312247..2cae5ea98 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -793,7 +793,7 @@ fn ts_reload() { assert!(std::str::from_utf8(&output.stdout) .unwrap() .trim() - .contains("\"compiler::host.writeFile\" \"deno://002_hello.js\"")); + .contains("\"host.writeFile(\\\"deno://002_hello.js\\\")\"")); } #[test] diff --git a/cli/tests/type_directives_01.ts.out b/cli/tests/type_directives_01.ts.out index 8bd20087b..8d285d3a8 100644 --- a/cli/tests/type_directives_01.ts.out +++ b/cli/tests/type_directives_01.ts.out @@ -1,3 +1,3 @@ [WILDCARD] -DEBUG TS - "compiler::host.getSourceFile" "http://127.0.0.1:4545/xTypeScriptTypes.d.ts" +DEBUG TS - "host.getSourceFile(\"http://127.0.0.1:4545/xTypeScriptTypes.d.ts\", Latest)" [WILDCARD]
\ No newline at end of file diff --git a/cli/tests/type_directives_02.ts.out b/cli/tests/type_directives_02.ts.out index 5cfdeefc2..aea1d4fd0 100644 --- a/cli/tests/type_directives_02.ts.out +++ b/cli/tests/type_directives_02.ts.out @@ -1,3 +1,3 @@ [WILDCARD] -DEBUG TS - "compiler::host.getSourceFile" "file:[WILDCARD]cli/tests/subdir/type_reference.d.ts" +DEBUG TS - "host.getSourceFile(\"file:///[WILDCARD]cli/tests/subdir/type_reference.d.ts\", Latest)" [WILDCARD]
\ No newline at end of file |