Skip to content

Commit 36ee8ce

Browse files
committed
Auto merge of #12632 - ehuss:fix-git-test-example, r=epage
Fix example for creating a git project test. There was a small mistake in the example for creating a git project for testing.
2 parents 016fe19 + 8964f3f commit 36ee8ce

File tree

1 file changed

+1
-1
lines changed
  • crates/cargo-test-support/src

1 file changed

+1
-1
lines changed

crates/cargo-test-support/src/git.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Example:
1010
```
1111
let git_project = git::new("dep1", |project| {
1212
project
13-
.file("Cargo.toml", &basic_manifest("dep1"))
13+
.file("Cargo.toml", &basic_manifest("dep1", "1.0.0"))
1414
.file("src/lib.rs", r#"pub fn f() { println!("hi!"); } "#)
1515
});
1616

0 commit comments

Comments
 (0)