aboutsummaryrefslogtreecommitdiff
path: root/test/test-text-source-map.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-text-source-map.js')
-rw-r--r--test/test-text-source-map.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-text-source-map.js b/test/test-text-source-map.js
index c9810d19..ef561653 100644
--- a/test/test-text-source-map.js
+++ b/test/test-text-source-map.js
@@ -16,6 +16,7 @@
*/
const assert = require('assert');
+const {testMain} = require('../dev/util');
const {VM} = require('../dev/vm');
const vm = new VM();
@@ -230,4 +231,4 @@ function main() {
}
-if (require.main === module) { main(); }
+if (require.main === module) { testMain(main); }