From 1fddcc372196466799789350e7950cef1a38d35e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 9 May 2020 21:09:46 +0200 Subject: refactor(cli): unify display of errors from Rust and JS (#5183) --- cli/tests/038_checkjs.js.out | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cli/tests/038_checkjs.js.out') 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 -- cgit v1.2.3