aboutsummaryrefslogtreecommitdiff
path: root/test/test-object-property-accessor.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-object-property-accessor.js')
-rw-r--r--test/test-object-property-accessor.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-object-property-accessor.js b/test/test-object-property-accessor.js
index 42fa3d40..b875575a 100644
--- a/test/test-object-property-accessor.js
+++ b/test/test-object-property-accessor.js
@@ -16,6 +16,7 @@
*/
const assert = require('assert');
+const {testMain} = require('../dev/util');
const {VM} = require('../dev/vm');
const vm = new VM({});
@@ -411,4 +412,4 @@ function main() {
}
-if (require.main === module) { main(); }
+if (require.main === module) { testMain(main); }