summaryrefslogtreecommitdiff
path: root/test/parallel/test-vm-preserves-property.js
diff options
context:
space:
mode:
authorOmar Gonzalez <omarg.developer@gmail.com>2017-10-06 12:24:44 -0700
committerRuben Bridgewater <ruben@bridgewater.de>2017-10-19 02:26:02 -0200
commitcf02981139f3af418ddd5d52d998effca3a8597a (patch)
tree008a93b8cc0ae60dd8064c0e64ecd454d47a9e47 /test/parallel/test-vm-preserves-property.js
parentba999e1b9e96370e074f4227fd59db52d7554a54 (diff)
downloadandroid-node-v8-cf02981139f3af418ddd5d52d998effca3a8597a.tar.gz
android-node-v8-cf02981139f3af418ddd5d52d998effca3a8597a.tar.bz2
android-node-v8-cf02981139f3af418ddd5d52d998effca3a8597a.zip
test: update assert error messages
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'test/parallel/test-vm-preserves-property.js')
-rw-r--r--test/parallel/test-vm-preserves-property.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-vm-preserves-property.js b/test/parallel/test-vm-preserves-property.js
index 0ddc7b260a..0846fd4f79 100644
--- a/test/parallel/test-vm-preserves-property.js
+++ b/test/parallel/test-vm-preserves-property.js
@@ -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);