mirror of
https://github.com/rust-lang/cargo
synced 2024-08-25 02:25:46 +00:00
Fixed a few additional tests.
This commit is contained in:
parent
befc33b204
commit
faa8074dc4
|
@ -294,7 +294,7 @@ fn build_only_bar_dependency() {
|
|||
.with_status(0)
|
||||
.with_stderr("\
|
||||
[COMPILING] bar v0.1.0 ([..])
|
||||
[RUNNING] `[..]--crate-name bar --crate-type lib [..] -C debug-assertions [..]`
|
||||
[RUNNING] `rustc --crate-name bar [..] --crate-type lib [..] -C debug-assertions [..]`
|
||||
[FINISHED] debug [unoptimized + debuginfo] target(s) in [..]
|
||||
"));
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ fn rustdoc_simple() {
|
|||
.with_status(0)
|
||||
.with_stderr(format!("\
|
||||
[DOCUMENTING] foo v0.0.1 ({url})
|
||||
[RUNNING] `rustdoc src[/]lib.rs --crate-name foo \
|
||||
[RUNNING] `rustdoc --crate-name foo src[/]lib.rs \
|
||||
-o {dir}[/]target[/]doc \
|
||||
-L dependency={dir}[/]target[/]debug[/]deps`
|
||||
[FINISHED] debug [unoptimized + debuginfo] target(s) in [..]
|
||||
|
@ -43,7 +43,7 @@ fn rustdoc_args() {
|
|||
.with_status(0)
|
||||
.with_stderr(format!("\
|
||||
[DOCUMENTING] foo v0.0.1 ({url})
|
||||
[RUNNING] `rustdoc src[/]lib.rs --crate-name foo \
|
||||
[RUNNING] `rustdoc --crate-name foo src[/]lib.rs \
|
||||
-o {dir}[/]target[/]doc \
|
||||
--no-defaults \
|
||||
-L dependency={dir}[/]target[/]debug[/]deps`
|
||||
|
@ -88,7 +88,7 @@ fn rustdoc_foo_with_bar_dependency() {
|
|||
[COMPILING] bar v0.0.1 ([..])
|
||||
[RUNNING] `rustc [..]bar[/]src[/]lib.rs [..]`
|
||||
[DOCUMENTING] foo v0.0.1 ({url})
|
||||
[RUNNING] `rustdoc src[/]lib.rs --crate-name foo \
|
||||
[RUNNING] `rustdoc --crate-name foo src[/]lib.rs \
|
||||
-o {dir}[/]target[/]doc \
|
||||
--no-defaults \
|
||||
-L dependency={dir}[/]target[/]debug[/]deps \
|
||||
|
@ -133,7 +133,7 @@ fn rustdoc_only_bar_dependency() {
|
|||
.with_status(0)
|
||||
.with_stderr(format!("\
|
||||
[DOCUMENTING] bar v0.0.1 ([..])
|
||||
[RUNNING] `rustdoc [..]bar[/]src[/]lib.rs --crate-name bar \
|
||||
[RUNNING] `rustdoc --crate-name bar [..]bar[/]src[/]lib.rs \
|
||||
-o {dir}[/]target[/]doc \
|
||||
--no-defaults \
|
||||
-L dependency={dir}[/]target[/]debug[/]deps`
|
||||
|
|
Loading…
Reference in a new issue