Skip to content

Commit a26305f

Browse files
fixup! test: normalize known inspector crash as completion
Co-authored-by: Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com>
1 parent b0c9545 commit a26305f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/common/debugger-probe.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ function assertProbeJson(output, expected) {
2525
lastResult.error?.signal === probeTargetExitSignal) {
2626
// Log to facilitate debugging if this normalization is occurring.
2727
console.log('Normalizing trailing SIGSEGV in JSON probe output');
28-
normalized.results[normalized.results.length - 1] =
29-
expected.results[expected.results.length - 1];
28+
normalized.results.at(-1) = expected.results.at(-1);
3029
}
3130

3231
assert.deepStrictEqual(normalized, expected);

0 commit comments

Comments
 (0)