diff options
Diffstat (limited to 'test_utils')
| -rw-r--r-- | test_utils/src/git.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test_utils/src/git.rs b/test_utils/src/git.rs index 7f0b4c7..76656df 100644 --- a/test_utils/src/git.rs +++ b/test_utils/src/git.rs | |||
| @@ -56,6 +56,7 @@ impl GitTestRepo { | |||
| 56 | pub fn populate_with_test_branch(&self) -> Result<Oid> { | 56 | pub fn populate_with_test_branch(&self) -> Result<Oid> { |
| 57 | self.populate()?; | 57 | self.populate()?; |
| 58 | self.create_branch("add-example-feature")?; | 58 | self.create_branch("add-example-feature")?; |
| 59 | self.checkout("add-example-feature")?; | ||
| 59 | fs::write(self.dir.join("f1.md"), "some content")?; | 60 | fs::write(self.dir.join("f1.md"), "some content")?; |
| 60 | self.stage_and_commit("add f1.md")?; | 61 | self.stage_and_commit("add f1.md")?; |
| 61 | fs::write(self.dir.join("f2.md"), "some content")?; | 62 | fs::write(self.dir.join("f2.md"), "some content")?; |