about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-07-14 11:33:49 -0700
committerMichael Sullivan <sully@msully.net>2012-07-14 11:33:49 -0700
commiteb411d1b8f5561cb5e95b5c504f9ac6f3e1a5dd6 (patch)
tree0ce1c2495dccf0c42448b0eda11797075f15b60e /src
parent13c377b3b5c60d9cc8f688390b5137e1ecd903ef (diff)
downloadrust-eb411d1b8f5561cb5e95b5c504f9ac6f3e1a5dd6.tar.gz
rust-eb411d1b8f5561cb5e95b5c504f9ac6f3e1a5dd6.zip
Make combine-tests.py work with ~str.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/combine-tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/etc/combine-tests.py b/src/etc/combine-tests.py
index fbe8bd85b66..366ec311a43 100755
--- a/src/etc/combine-tests.py
+++ b/src/etc/combine-tests.py
@@ -30,9 +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:
-                take_args[t] = True
-            if "main(args: ~[str])" in s:
+            if "main(args: ~[~str])" in s:
                 take_args[t] = True
         f.close()