summaryrefslogtreecommitdiff
path: root/test/test-japanese.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-japanese.js')
-rw-r--r--test/test-japanese.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-japanese.js b/test/test-japanese.js
index ad3084f1..54186a96 100644
--- a/test/test-japanese.js
+++ b/test/test-japanese.js
@@ -16,6 +16,7 @@
*/
const assert = require('assert');
+const {testMain} = require('../dev/util');
const {VM} = require('../dev/vm');
const vm = new VM();
@@ -496,4 +497,4 @@ function main() {
}
-if (require.main === module) { main(); }
+if (require.main === module) { testMain(main); }