Skip to content

Commit f6d1aba

Browse files
committed
test: account for non-node basename
PR-URL: #33952 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent c319b5f commit f6d1aba

5 files changed

+7
-7
lines changed

test/message/eval_messages.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ ReferenceError: y is not defined
5555
var ______________________________________________; throw 10
5656
^
5757
10
58-
(Use `node --trace-uncaught ...` to show where the exception was thrown)
58+
(Use `* --trace-uncaught ...` to show where the exception was thrown)
5959

6060
[eval]:1
6161
var ______________________________________________; throw 10
6262
^
6363
10
64-
(Use `node --trace-uncaught ...` to show where the exception was thrown)
64+
(Use `* --trace-uncaught ...` to show where the exception was thrown)
6565
done

test/message/stdin_messages.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ ReferenceError: y is not defined
6767
let ______________________________________________; throw 10
6868
^
6969
10
70-
(Use `node --trace-uncaught ...` to show where the exception was thrown)
70+
(Use `* --trace-uncaught ...` to show where the exception was thrown)
7171

7272
[stdin]:1
7373
let ______________________________________________; throw 10
7474
^
7575
10
76-
(Use `node --trace-uncaught ...` to show where the exception was thrown)
76+
(Use `* --trace-uncaught ...` to show where the exception was thrown)
7777
done

test/message/throw_error_with_getter_throw.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
throw { // eslint-disable-line no-throw-literal
44
^
55
[object Object]
6-
(Use `node --trace-uncaught ...` to show where the exception was thrown)
6+
(Use `* --trace-uncaught ...` to show where the exception was thrown)

test/message/throw_null.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
throw null;
44
^
55
null
6-
(Use `node --trace-uncaught ...` to show where the exception was thrown)
6+
(Use `* --trace-uncaught ...` to show where the exception was thrown)

test/message/throw_undefined.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
throw undefined;
44
^
55
undefined
6-
(Use `node --trace-uncaught ...` to show where the exception was thrown)
6+
(Use `* --trace-uncaught ...` to show where the exception was thrown)

0 commit comments

Comments
 (0)