Skip to content

Commit

Permalink
test: update assert error messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
s9tpepper authored and MylesBorins committed Nov 28, 2017
1 parent da85e6c commit 32fa915
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-vm-preserves-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ const res = vm.runInContext(code, o, 'test');
assert(res);
assert.strictEqual(typeof res, 'object');
assert.strictEqual(res.value, 'val');
assert.strictEqual(res.configurable, false, 'should not be configurable');
assert.strictEqual(res.enumerable, false, 'should not be enumerable');
assert.strictEqual(res.writable, false, 'should not be writable');
assert.strictEqual(res.configurable, false);
assert.strictEqual(res.enumerable, false);
assert.strictEqual(res.writable, false);

0 comments on commit 32fa915

Please sign in to comment.