diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/async_error.ts.out | 2 | ||||
-rw-r--r-- | tests/error_003_typescript.ts.out | 8 | ||||
-rw-r--r-- | tests/error_004_missing_module.ts.out | 1 | ||||
-rw-r--r-- | tests/error_006_import_ext_failure.ts.out | 1 | ||||
-rw-r--r-- | tests/error_008_checkjs.js.out | 2 | ||||
-rw-r--r-- | tests/error_syntax.js.out | 2 |
6 files changed, 7 insertions, 9 deletions
diff --git a/tests/async_error.ts.out b/tests/async_error.ts.out index 4a2b78f6c..2bd958f9a 100644 --- a/tests/async_error.ts.out +++ b/tests/async_error.ts.out @@ -3,7 +3,7 @@ before error world [WILDCARD]tests/async_error.ts:4:10 throw Error("error"); - + ^ Uncaught Error: error at foo ([WILDCARD]tests/async_error.ts:4:9) at [WILDCARD]tests/async_error.ts:7:1 diff --git a/tests/error_003_typescript.ts.out b/tests/error_003_typescript.ts.out index 20f5c95d0..65bc33591 100644 --- a/tests/error_003_typescript.ts.out +++ b/tests/error_003_typescript.ts.out @@ -1,10 +1,10 @@ -[96m[WILDCARD]tests/error_003_typescript.ts[WILDCARD] - [91merror[0m[90m TS2552: [0mCannot find name 'consol'. Did you mean 'console'? +[WILDCARD]tests/error_003_typescript.ts[WILDCARD] - error TS2552: Cannot find name 'consol'. Did you mean 'console'? [WILDCARD] consol.log("hello world!"); -[WILDCARD]~~~~~~[0m +[WILDCARD]~~~~~~ - [96m$asset$/lib.deno_runtime.d.ts[WILDCARD] + $asset$/lib.deno_runtime.d.ts[WILDCARD] [WILDCARD]declare const console: consoleTypes.Console; -[WILDCARD]~~~~~~~[0m +[WILDCARD]~~~~~~~ [WILDCARD]'console' is declared here. diff --git a/tests/error_004_missing_module.ts.out b/tests/error_004_missing_module.ts.out index 049817ef6..21cef70a8 100644 --- a/tests/error_004_missing_module.ts.out +++ b/tests/error_004_missing_module.ts.out @@ -1,5 +1,4 @@ Compiling [WILDCARD]tests/error_004_missing_module.ts -[WILDCARD] Uncaught NotFound: Cannot resolve module "bad-module.ts" from "[WILDCARD]/tests/error_004_missing_module.ts" at DenoError ([WILDCARD]/js/errors.ts:[WILDCARD]) at maybeError ([WILDCARD]/js/errors.ts:[WILDCARD]) diff --git a/tests/error_006_import_ext_failure.ts.out b/tests/error_006_import_ext_failure.ts.out index d4c56ab5c..7ba9ac6b4 100644 --- a/tests/error_006_import_ext_failure.ts.out +++ b/tests/error_006_import_ext_failure.ts.out @@ -1,5 +1,4 @@ Compiling [WILDCARD]tests/error_006_import_ext_failure.ts -[WILDCARD] Uncaught NotFound: Cannot resolve module "./non-existent" from "[WILDCARD]/tests/error_006_import_ext_failure.ts" at DenoError ([WILDCARD]/js/errors.ts:[WILDCARD]) at maybeError ([WILDCARD]/js/errors.ts:[WILDCARD]) diff --git a/tests/error_008_checkjs.js.out b/tests/error_008_checkjs.js.out index 6d899f9d6..2341af23f 100644 --- a/tests/error_008_checkjs.js.out +++ b/tests/error_008_checkjs.js.out @@ -1,5 +1,5 @@ [WILDCARD]tests/error_008_checkjs.js:2:0 consol.log("hello world!"); - +^ Uncaught ReferenceError: consol is not defined at [WILDCARD]tests/error_008_checkjs.js:2:1 diff --git a/tests/error_syntax.js.out b/tests/error_syntax.js.out index a106b95d8..ac2f99f1f 100644 --- a/tests/error_syntax.js.out +++ b/tests/error_syntax.js.out @@ -1,4 +1,4 @@ [WILDCARD]tests/error_syntax.js:3:5 (the following is a syntax error ^^ ! ) - + ^^^^^^^^^ Uncaught SyntaxError: Unexpected identifier |