Add 005_more_imports.ts

And run check_output_test in order.
This commit is contained in:
Ryan Dahl 2018-08-01 16:30:19 -04:00
parent 421358e7a9
commit 7fe656f4b9
5 changed files with 40 additions and 2 deletions

View file

@ -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: