aboutsummaryrefslogtreecommitdiff
path: root/test/test-dictionary.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-dictionary.js')
-rw-r--r--test/test-dictionary.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-dictionary.js b/test/test-dictionary.js
index e7db75eb..1a2dca68 100644
--- a/test/test-dictionary.js
+++ b/test/test-dictionary.js
@@ -16,7 +16,7 @@
*/
const path = require('path');
-const {createDictionaryArchive} = require('../dev/util');
+const {createDictionaryArchive, testMain} = require('../dev/util');
const dictionaryValidate = require('../dev/dictionary-validate');
@@ -62,4 +62,4 @@ async function main() {
}
-if (require.main === module) { main(); }
+if (require.main === module) { testMain(main); }