aboutsummaryrefslogtreecommitdiff
path: root/test/test-options-util.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-options-util.js')
-rw-r--r--test/test-options-util.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js
index 82859dd3..135b2b2e 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -19,6 +19,7 @@ const fs = require('fs');
const url = require('url');
const path = require('path');
const assert = require('assert');
+const {testMain} = require('../dev/util');
const {VM} = require('../dev/vm');
@@ -627,4 +628,4 @@ async function main() {
}
-if (require.main === module) { main(); }
+if (require.main === module) { testMain(main); }