Skip to content

Commit 32fa915

Browse files
s9tpepperMylesBorins
authored andcommitted
test: update assert error messages
PR-URL: #16035 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent da85e6c commit 32fa915

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-vm-preserves-property.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ const res = vm.runInContext(code, o, 'test');
2020
assert(res);
2121
assert.strictEqual(typeof res, 'object');
2222
assert.strictEqual(res.value, 'val');
23-
assert.strictEqual(res.configurable, false, 'should not be configurable');
24-
assert.strictEqual(res.enumerable, false, 'should not be enumerable');
25-
assert.strictEqual(res.writable, false, 'should not be writable');
23+
assert.strictEqual(res.configurable, false);
24+
assert.strictEqual(res.enumerable, false);
25+
assert.strictEqual(res.writable, false);

0 commit comments

Comments
 (0)