Skip to content

Commit

Permalink
Test the generated manifest does not contain authors =
Browse files Browse the repository at this point in the history
  • Loading branch information
lf- authored and ehuss committed Mar 22, 2021
1 parent de45c6f commit 160b7f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testsuite/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ fn git_prefers_command_line() {

cargo_process("new foo --vcs git").run();
assert!(paths::root().join("foo/.gitignore").exists());
assert!(!fs::read_to_string(paths::root().join("foo/Cargo.toml"))
.unwrap()
.contains("authors ="));
}

#[cargo_test]
Expand Down

0 comments on commit 160b7f1

Please sign in to comment.