Fix check-fast for the change to main's signature.

This commit is contained in:
Graydon Hoare 2012-09-26 17:20:33 -07:00
parent 26a8fe3553
commit 25715bd59e

View file

@ -30,7 +30,7 @@ for t in os.listdir(run_pass):
"xfail-fast" in s or
"xfail-win32" in s):
stage2_tests.append(t)
if "main(args: ~[~str])" in s:
if "fn main(args:" in s or "fn main(++args:" in s:
take_args[t] = True
f.close()