From bbc93edee9ea49bd7b82ce9f253afacd4de7f2b3 Mon Sep 17 00:00:00 2001 From: Omar Gonzalez Date: Fri, 6 Oct 2017 12:24:44 -0700 Subject: [PATCH] test: update assert error messages PR-URL: https://github.com/nodejs/node/pull/16035 Reviewed-By: Michael Dawson Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- test/parallel/test-vm-preserves-property.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-vm-preserves-property.js b/test/parallel/test-vm-preserves-property.js index 0ddc7b260a1..0846fd4f798 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);