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