Skip to content

Commit fd622d9

Browse files
ExE-Bossaduh95
andauthored
fixup! lib: support returning Safe collections from C++
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent dd0b7a1 commit fd622d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/parallel/test-options-binding.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ assert(
1919
aliases instanceof SafeMap,
2020
"require('internal/options').aliases is a SafeMap",
2121
);
22+
23+
Map.prototype.get = function get() { return 'polluted result'; };
24+
assert.strictEqual(getOptionValue('--expose-internals'), true);

0 commit comments

Comments
 (0)