summaryrefslogtreecommitdiff
path: root/tools/fmt_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fmt_test.py')
-rwxr-xr-xtools/fmt_test.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/fmt_test.py b/tools/fmt_test.py
index 1d21fb740..0be2d2eff 100755
--- a/tools/fmt_test.py
+++ b/tools/fmt_test.py
@@ -1,11 +1,10 @@
#!/usr/bin/env python
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import json
import os
import shutil
-import sys
-from util import (DenoTestCase, mkdtemp, root_path, tests_path, run, test_main)
+from test_util import DenoTestCase, run_tests
+from util import mkdtemp, root_path, tests_path, run
class FmtTest(DenoTestCase):
@@ -43,4 +42,4 @@ class FmtTest(DenoTestCase):
if __name__ == "__main__":
- test_main()
+ run_tests()