summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/038_checkjs.js.out5
-rw-r--r--cli/tests/config.ts.out2
-rw-r--r--cli/tests/error_003_typescript.ts.out3
-rw-r--r--cli/tests/error_013_missing_script.out2
-rw-r--r--cli/tests/error_017_hide_long_source_ts.ts.out3
-rw-r--r--cli/tests/error_local_static_import_from_remote.js.out2
-rw-r--r--cli/tests/unstable_disabled.out2
7 files changed, 11 insertions, 8 deletions
diff --git a/cli/tests/038_checkjs.js.out b/cli/tests/038_checkjs.js.out
index 92b8e2fd0..452290272 100644
--- a/cli/tests/038_checkjs.js.out
+++ b/cli/tests/038_checkjs.js.out
@@ -1,4 +1,5 @@
-[WILDCARD]error TS2552: Cannot find name 'consol'. Did you mean 'console'?
+[WILDCARD]
+error: TS2552 [ERROR]: Cannot find name 'consol'. Did you mean 'console'?
consol.log("hello world!");
~~~~~~
at [WILDCARD]tests/038_checkjs.js:2:1
@@ -8,7 +9,7 @@ consol.log("hello world!");
~~~~~~~
at [WILDCARD]
-error TS2552: Cannot find name 'Foo'. Did you mean 'foo'?
+TS2552 [ERROR]: Cannot find name 'Foo'. Did you mean 'foo'?
const foo = new Foo();
~~~
at [WILDCARD]tests/038_checkjs.js:6:17
diff --git a/cli/tests/config.ts.out b/cli/tests/config.ts.out
index b08761ac1..8f5cf7e39 100644
--- a/cli/tests/config.ts.out
+++ b/cli/tests/config.ts.out
@@ -1,7 +1,7 @@
[WILDCARD]Unsupported compiler options in "[WILDCARD]config.tsconfig.json"
The following options were ignored:
module, target
-error TS2532: Object is possibly 'undefined'.
+error: TS2532 [ERROR]: Object is possibly 'undefined'.
if (map.get("bar").foo) {
~~~~~~~~~~~~~~
at [WILDCARD]tests/config.ts:3:5
diff --git a/cli/tests/error_003_typescript.ts.out b/cli/tests/error_003_typescript.ts.out
index ba113d12c..49cd274f4 100644
--- a/cli/tests/error_003_typescript.ts.out
+++ b/cli/tests/error_003_typescript.ts.out
@@ -1,4 +1,5 @@
-[WILDCARD]error TS2322: Type '{ a: { b: { c(): { d: number; }; }; }; }' is not assignable to type '{ a: { b: { c(): { d: string; }; }; }; }'.
+[WILDCARD]
+error: TS2322 [ERROR]: Type '{ a: { b: { c(): { d: number; }; }; }; }' is not assignable to type '{ a: { b: { c(): { d: string; }; }; }; }'.
The types of 'a.b.c().d' are incompatible between these types.
Type 'number' is not assignable to type 'string'.
x = y;
diff --git a/cli/tests/error_013_missing_script.out b/cli/tests/error_013_missing_script.out
index 9836c361f..35aaec9be 100644
--- a/cli/tests/error_013_missing_script.out
+++ b/cli/tests/error_013_missing_script.out
@@ -1 +1 @@
-Cannot resolve module "[WILDCARD]missing_file_name"
+error: Cannot resolve module "[WILDCARD]missing_file_name"
diff --git a/cli/tests/error_017_hide_long_source_ts.ts.out b/cli/tests/error_017_hide_long_source_ts.ts.out
index 6606c8523..6799a94cc 100644
--- a/cli/tests/error_017_hide_long_source_ts.ts.out
+++ b/cli/tests/error_017_hide_long_source_ts.ts.out
@@ -1,2 +1,3 @@
-[WILDCARD]error TS2532: Object is possibly 'undefined'.
+[WILDCARD]
+error: TS2532 [ERROR]: Object is possibly 'undefined'.
at [WILDCARD]tests/error_017_hide_long_source_ts.ts:2:1
diff --git a/cli/tests/error_local_static_import_from_remote.js.out b/cli/tests/error_local_static_import_from_remote.js.out
index 99e4b94c7..4e6a9d4e7 100644
--- a/cli/tests/error_local_static_import_from_remote.js.out
+++ b/cli/tests/error_local_static_import_from_remote.js.out
@@ -1,2 +1,2 @@
[WILDCARD]
-Remote module are not allowed to statically import local modules. Use dynamic import instead.
+error: Remote module are not allowed to statically import local modules. Use dynamic import instead.
diff --git a/cli/tests/unstable_disabled.out b/cli/tests/unstable_disabled.out
index ca88df9c8..695ca122c 100644
--- a/cli/tests/unstable_disabled.out
+++ b/cli/tests/unstable_disabled.out
@@ -1,5 +1,5 @@
[WILDCARD]
-error TS2339: Property 'loadavg' does not exist on type 'typeof Deno'.
+error: TS2339 [ERROR]: Property 'loadavg' does not exist on type 'typeof Deno'.
console.log(Deno.loadavg);
~~~~~~~
at [WILDCARD]/cli/tests/unstable.ts:1:18