mirror of https://github.com/nodejs/node.git
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>pull/34021/head
parent
0e7c8bdc0c
commit
46ee8647c3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue