diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-07-09 18:36:19 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-07-09 19:30:04 -0700 |
| commit | 75047ea87e2a26c0e9518af0dbc22dc6631e3ebd (patch) | |
| tree | 6c20f74f469dfbd7fbf48e102bec6c9441c5ff64 /src/lib | |
| parent | 09982784c6ad1c78f9480c3c2c0c3a2b2bf7f969 (diff) | |
| download | rust-75047ea87e2a26c0e9518af0dbc22dc6631e3ebd.tar.gz rust-75047ea87e2a26c0e9518af0dbc22dc6631e3ebd.zip | |
Generate code to load a crate's tests into the std test runner. Issue #428
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/test.rs b/src/lib/test.rs index cfee1f82072..57c1c531c9b 100644 --- a/src/lib/test.rs +++ b/src/lib/test.rs @@ -27,7 +27,7 @@ type test_desc = rec(test_name name, // The default console test runner. It accepts the command line // arguments and a vector of test_descs (generated at compile time). -fn test_main(&vec[str] args, &test_desc[] tests) -> int { +fn test_main(&test_desc[] tests) -> int { if (run_tests(tests)) { ret 0; } else { |
