Skip to content

Commit 8964f3f

Browse files
committed
Fix example for creating a git project test.
1 parent 016fe19 commit 8964f3f

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)