Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! prototype test value
The message expects to fail with the value `undefined`, not `null`.
  • Loading branch information
VoltrexKeyva authored Jun 1, 2021
commit 80b1d810f51cf8643f403d98c03e9d7b0147c4a2
2 changes: 1 addition & 1 deletion test/parallel/test-util-inherits.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function F() {
this.test = 'test';
}

F.prototype = null;
F.prototype = undefined;

// Should throw with invalid arguments
assert.throws(() => {
Expand Down