diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-05-09 21:09:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-09 21:09:46 +0200 |
commit | 1fddcc372196466799789350e7950cef1a38d35e (patch) | |
tree | f8e3d43170e2208a9f3f8bf1f12edbb3ed6b1d2e /cli/tests/038_checkjs.js.out | |
parent | 670d01d0126d80c0acfd22a76148dcbd831763cb (diff) |
refactor(cli): unify display of errors from Rust and JS (#5183)
Diffstat (limited to 'cli/tests/038_checkjs.js.out')
-rw-r--r-- | cli/tests/038_checkjs.js.out | 5 |
1 files changed, 3 insertions, 2 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 |