about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-05-04 23:53:48 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-05-05 10:52:10 +0200
commitd5863e99853c22c649a1787f40c47b60795ea93d (patch)
treecfe71cf5bb98cd23ffd4ff02db31f1d2cc18b2a3 /src/libsyntax
parentf30ed77f0d7bb4be308454d8522b389e0f9ce4f5 (diff)
downloadrust-d5863e99853c22c649a1787f40c47b60795ea93d.tar.gz
rust-d5863e99853c22c649a1787f40c47b60795ea93d.zip
Add Options type in libtest and remove argument
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/test.rs b/src/libsyntax/test.rs
index 50380626d7f..91746a2edd9 100644
--- a/src/libsyntax/test.rs
+++ b/src/libsyntax/test.rs
@@ -442,7 +442,7 @@ We're going to be building a module that looks more or less like:
 mod __test {
   extern crate test (name = "test", vers = "...");
   fn main() {
-    test::test_main_static(&::os::args()[], tests)
+    test::test_main_static(&::os::args()[], tests, test::Options::new())
   }
 
   static tests : &'static [test::TestDescAndFn] = &[
@@ -478,7 +478,7 @@ fn mk_main(cx: &mut TestCtxt) -> P<ast::Item> {
     //        pub fn main() {
     //            #![main]
     //            use std::slice::AsSlice;
-    //            test::test_main_static(::std::os::args().as_slice(), TESTS);
+    //            test::test_main_static(::std::os::args().as_slice(), TESTS, test::Options::new());
     //        }
 
     let sp = ignored_span(cx, DUMMY_SP);