]> git.proxmox.com Git - cargo.git/commitdiff
Temporary fix for tests
authorDavid Davidović <geosoft.corp@gmail.com>
Wed, 24 Dec 2014 20:40:14 +0000 (21:40 +0100)
committerDavid Davidović <geosoft.corp@gmail.com>
Wed, 24 Dec 2014 20:40:14 +0000 (21:40 +0100)
Two tests (test_with_deep_lib_dep and lib_with_standard_name) fail due
to a bug in rustdoc (see rust-lang/rust#20183) so temporarily changing
these so they pass. Be sure to change it back when the fix lands in the
current rust nightly

tests/test_cargo_test.rs

index ea1f44d6da704b2927686f9b1ae2e0f7ddaadfc9..99874db65ae341580ed848452cb42c94ad3949e2 100644 (file)
@@ -268,10 +268,9 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
 
 {doctest} bar
 
-running 1 test
-test bar_0 ... ok
+running 0 tests
 
-test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
+test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
 
 ",
                        compiling = COMPILING, running = RUNNING,
@@ -568,10 +567,9 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
 
 {doctest} syntax
 
-running 1 test
-test foo_0 ... ok
+running 0 tests
 
-test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
+test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
 
 ",
                        compiling = COMPILING, running = RUNNING,