mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Removed debug println from earlier commit.
This commit is contained in:
parent
782dacd50c
commit
fad16813a3
@ -195,7 +195,6 @@ fn finds_author_user() {
|
|||||||
cargo_process("new foo").env("USER", "foo").run();
|
cargo_process("new foo").env("USER", "foo").run();
|
||||||
|
|
||||||
let toml = paths::root().join("foo/Cargo.toml");
|
let toml = paths::root().join("foo/Cargo.toml");
|
||||||
println!("{:?}", toml);
|
|
||||||
let contents = fs::read_to_string(&toml).unwrap();
|
let contents = fs::read_to_string(&toml).unwrap();
|
||||||
assert!(contents.contains(r#"authors = ["foo"]"#));
|
assert!(contents.contains(r#"authors = ["foo"]"#));
|
||||||
}
|
}
|
||||||
@ -218,9 +217,7 @@ fn author_without_user_or_email() {
|
|||||||
#[cargo_test]
|
#[cargo_test]
|
||||||
fn finds_author_email_only() {
|
fn finds_author_email_only() {
|
||||||
create_empty_gitconfig();
|
create_empty_gitconfig();
|
||||||
cargo_process("new foo")
|
cargo_process("new foo").env("EMAIL", "baz").run();
|
||||||
.env("EMAIL", "baz")
|
|
||||||
.run();
|
|
||||||
|
|
||||||
let toml = paths::root().join("foo/Cargo.toml");
|
let toml = paths::root().join("foo/Cargo.toml");
|
||||||
println!("{:?}", toml);
|
println!("{:?}", toml);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user