about summary refs log tree commit diff
path: root/src/libstd/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/test.rs')
-rw-r--r--src/libstd/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/test.rs b/src/libstd/test.rs
index abf563197a5..fbb63844847 100644
--- a/src/libstd/test.rs
+++ b/src/libstd/test.rs
@@ -276,7 +276,7 @@ fn filter_tests<copy T>(opts: test_opts,
 
         let filter = bind filter_fn(_, filter_str);
 
-        vec::filter_map(filter, filtered)
+        vec::filter_map(filtered, filter)
     };
 
     // Maybe pull out the ignored test and unignore them
@@ -292,7 +292,7 @@ fn filter_tests<copy T>(opts: test_opts,
             } else { ret option::none; }
         };
 
-        vec::filter_map(bind filter(_), filtered)
+        vec::filter_map(filtered, bind filter(_))
     };
 
     // Sort the tests alphabetically