Skip to content

Commit c55a992

Browse files
committed
Temporary fix for tests
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
1 parent 6071372 commit c55a992

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/test_cargo_test.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,9 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
268268
269269
{doctest} bar
270270
271-
running 1 test
272-
test bar_0 ... ok
271+
running 0 tests
273272
274-
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
273+
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
275274
276275
",
277276
compiling = COMPILING, running = RUNNING,
@@ -568,10 +567,9 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
568567
569568
{doctest} syntax
570569
571-
running 1 test
572-
test foo_0 ... ok
570+
running 0 tests
573571
574-
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
572+
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
575573
576574
",
577575
compiling = COMPILING, running = RUNNING,

0 commit comments

Comments
 (0)