Skip to content

Commit 3988946

Browse files
committed
Revert "Maybe fix failing build on OS X rust beta"
This reverts commit 3fb3fdc.
1 parent 3fb3fdc commit 3988946

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_cargo_test.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2048,10 +2048,10 @@ test!(selective_test_optional_dep {
20482048
});
20492049

20502050
test!(only_test_docs {
2051-
let p = project("foo_docs")
2051+
let p = project("foo")
20522052
.file("Cargo.toml", r#"
20532053
[package]
2054-
name = "foo_docs"
2054+
name = "foo"
20552055
version = "0.0.1"
20562056
authors = []
20572057
"#)
@@ -2067,13 +2067,13 @@ test!(only_test_docs {
20672067
pub fn bar() {
20682068
}
20692069
"#)
2070-
.file("tests/foo_docs.rs", "this is not rust");
2070+
.file("tests/foo.rs", "this is not rust");
20712071
p.build();
20722072

20732073
assert_that(p.cargo("test").arg("--doc"),
20742074
execs().with_status(0).with_stdout(&format!("\
2075-
[COMPILING] foo_docs v0.0.1 ([..])
2076-
[DOCTEST] foo_docs
2075+
[COMPILING] foo v0.0.1 ([..])
2076+
[DOCTEST] foo
20772077
20782078
running 1 test
20792079
test bar_0 ... ok

0 commit comments

Comments
 (0)