mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: account for non-node basename
PR-URL: https://github.com/nodejs/node/pull/33952 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -55,11 +55,11 @@ ReferenceError: y is not defined
|
||||
var ______________________________________________; throw 10
|
||||
^
|
||||
10
|
||||
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|
||||
(Use `* --trace-uncaught ...` to show where the exception was thrown)
|
||||
|
||||
[eval]:1
|
||||
var ______________________________________________; throw 10
|
||||
^
|
||||
10
|
||||
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|
||||
(Use `* --trace-uncaught ...` to show where the exception was thrown)
|
||||
done
|
||||
|
||||
@@ -67,11 +67,11 @@ ReferenceError: y is not defined
|
||||
let ______________________________________________; throw 10
|
||||
^
|
||||
10
|
||||
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|
||||
(Use `* --trace-uncaught ...` to show where the exception was thrown)
|
||||
|
||||
[stdin]:1
|
||||
let ______________________________________________; throw 10
|
||||
^
|
||||
10
|
||||
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|
||||
(Use `* --trace-uncaught ...` to show where the exception was thrown)
|
||||
done
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
throw { // eslint-disable-line no-throw-literal
|
||||
^
|
||||
[object Object]
|
||||
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|
||||
(Use `* --trace-uncaught ...` to show where the exception was thrown)
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
throw null;
|
||||
^
|
||||
null
|
||||
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|
||||
(Use `* --trace-uncaught ...` to show where the exception was thrown)
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
throw undefined;
|
||||
^
|
||||
undefined
|
||||
(Use `node --trace-uncaught ...` to show where the exception was thrown)
|
||||
(Use `* --trace-uncaught ...` to show where the exception was thrown)
|
||||
|
||||
Reference in New Issue
Block a user