summaryrefslogtreecommitdiff
path: root/tools/check_output_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check_output_test.py')
-rwxr-xr-xtools/check_output_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/check_output_test.py b/tools/check_output_test.py
index 84bc31580..af385eb36 100755
--- a/tools/check_output_test.py
+++ b/tools/check_output_test.py
@@ -14,10 +14,10 @@ tests_path = os.path.join(root_path, "tests")
def check_output_test(deno_exe_filename):
assert os.path.isfile(deno_exe_filename)
- outs = [
+ outs = sorted([
filename for filename in os.listdir(tests_path)
if filename.endswith(".out")
- ]
+ ])
assert len(outs) > 1
tests = [(os.path.splitext(filename)[0], filename) for filename in outs]
for (script, out_filename) in tests: