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! test: make sure weak references are not GCed too early
  • Loading branch information
BridgeAR committed Apr 30, 2019
commit 73d936cccbc885747bb8d8a694154ff3d43812cb
2 changes: 1 addition & 1 deletion test/parallel/test-util-inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ util.inspect(process);
expectAlt = 'WeakSet { [ 1, [length]: 1 ], ... 1 more item, extra: true }';
assert(out === expect || out === expectAlt,
`Found: "${out}"\nrather than: "${expect}"\nor: "${expectAlt}"`);
// Keep references to the WeakMap entries, otherwise they could be GCed to
// Keep references to the WeakMap entries, otherwise they could be GCed too
// early.
assert(obj && arr);
}
Expand Down