summaryrefslogtreecommitdiff
path: root/tools/fmt_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fmt_test.py')
-rwxr-xr-xtools/fmt_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fmt_test.py b/tools/fmt_test.py
index dd704485d..85b475015 100755
--- a/tools/fmt_test.py
+++ b/tools/fmt_test.py
@@ -19,7 +19,7 @@ def fmt_test(deno_exe):
# Set DENO_DIR to //js/ so we don't have to rely on an intenet
# connection to download https://deno.land/std/prettier/main.ts
deno_dir = os.path.join(root_path, "js")
- run([deno_exe, dst, "--fmt"], merge_env={"DENO_DIR": deno_dir})
+ run([deno_exe, "fmt", dst], merge_env={"DENO_DIR": deno_dir})
with open(fixed_filename) as f:
expected = f.read()
with open(dst) as f: