Skip to content

Commit 4d53385

Browse files
codebytererichardlau
authored andcommitted
test: make .out checks embedder-friendly
PR-URL: #35040 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent cdc1198 commit 4d53385

7 files changed

+7
-7
lines changed

test/message/esm_loader_not_found.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(node:*) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
2-
(Use `node --trace-warnings ...` to show where the warning was created)
2+
(Use `* --trace-warnings ...` to show where the warning was created)
33
internal/process/esm_loader.js:*
44
internalBinding('errors').triggerUncaughtException(
55
^

test/message/esm_loader_not_found_cjs_hint_relative.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(node:*) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
2-
(Use `node --trace-warnings ...` to show where the warning was created)
2+
(Use `* --trace-warnings ...` to show where the warning was created)
33
internal/process/esm_loader.js:*
44
internalBinding('errors').triggerUncaughtException(
55
^

test/message/esm_loader_syntax_error.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(node:*) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
2-
(Use `node --trace-warnings ...` to show where the warning was created)
2+
(Use `* --trace-warnings ...` to show where the warning was created)
33
file://*/test/fixtures/es-module-loaders/syntax-error.mjs:2
44
await async () => 0;
55
^^^^^^^^^^^^^

test/message/promise_unhandled_warn_with_error.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
at *
77
at *
88
at *
9-
(Use `node --trace-warnings ...` to show where the warning was created)
9+
(Use `* --trace-warnings ...` to show where the warning was created)
1010
*UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22
(node:*) Warning: The 'NODE_DISABLE_COLORS' env is ignored due to the 'FORCE_COLOR' env being set.
3-
(Use `node --trace-warnings ...` to show where the warning was created)
3+
(Use `* --trace-warnings ...` to show where the warning was created)
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22
(node:*) Warning: The 'NODE_DISABLE_COLORS' and 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
3-
(Use `node --trace-warnings ...` to show where the warning was created)
3+
(Use `* --trace-warnings ...` to show where the warning was created)
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
(node:*) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
2-
(Use `node --trace-warnings ...` to show where the warning was created)
2+
(Use `* --trace-warnings ...` to show where the warning was created)

0 commit comments

Comments
 (0)