Skip to content

Commit

Permalink
Auto merge of #12632 - ehuss:fix-git-test-example, r=epage
Browse files Browse the repository at this point in the history
Fix example for creating a git project test.

There was a small mistake in the example for creating a git project for testing.
  • Loading branch information
bors committed Sep 7, 2023
2 parents 016fe19 + 8964f3f commit 36ee8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cargo-test-support/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Example:
```
let git_project = git::new("dep1", |project| {
project
.file("Cargo.toml", &basic_manifest("dep1"))
.file("Cargo.toml", &basic_manifest("dep1", "1.0.0"))
.file("src/lib.rs", r#"pub fn f() { println!("hi!"); } "#)
});
Expand Down

0 comments on commit 36ee8ce

Please sign in to comment.