File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2048,10 +2048,10 @@ test!(selective_test_optional_dep {
2048
2048
} ) ;
2049
2049
2050
2050
test ! ( only_test_docs {
2051
- let p = project( "foo_docs " )
2051
+ let p = project( "foo " )
2052
2052
. file( "Cargo.toml" , r#"
2053
2053
[package]
2054
- name = "foo_docs "
2054
+ name = "foo "
2055
2055
version = "0.0.1"
2056
2056
authors = []
2057
2057
"# )
@@ -2067,13 +2067,13 @@ test!(only_test_docs {
2067
2067
pub fn bar() {
2068
2068
}
2069
2069
"# )
2070
- . file( "tests/foo_docs .rs" , "this is not rust" ) ;
2070
+ . file( "tests/foo .rs" , "this is not rust" ) ;
2071
2071
p. build( ) ;
2072
2072
2073
2073
assert_that( p. cargo( "test" ) . arg( "--doc" ) ,
2074
2074
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
2077
2077
2078
2078
running 1 test
2079
2079
test bar_0 ... ok
You can’t perform that action at this time.
0 commit comments