diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-05-08 18:03:00 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 23:03:00 +0200 |
commit | d0f5cd6a069e6a416e58b4ece456d134135b11d3 (patch) | |
tree | 31365ff5d8fd0ad76be95b1ca3930a1aeeb88920 /cli/tests/integration/run_tests.rs | |
parent | bcd875030a2774a74051ef006c4a66436d43b3fa (diff) |
fix(core): avoid panic on non-string Error.name (#14529)
Fixes #14518
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r-- | cli/tests/integration/run_tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 09c09d103..d2f11499b 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -2779,3 +2779,9 @@ itest!(spawn_stdout_inherit { args: "run --quiet --unstable -A spawn_stdout_inherit.ts", output: "spawn_stdout_inherit.ts.out", }); + +itest!(error_name_non_string { + args: "run --quiet error_name_non_string.js", + output: "error_name_non_string.js.out", + exit_code: 1, +}); |