Skip to content

Commit 48e8a71

Browse files
committed
test(git): Collect tests that use the same body
1 parent 0200aa0 commit 48e8a71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/testsuite/git_shallow.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ fn gitoxide_clones_shallow_two_revs_same_deps() {
1414
perform_two_revs_same_deps(true)
1515
}
1616

17+
#[cargo_test]
18+
fn two_revs_same_deps() {
19+
perform_two_revs_same_deps(false)
20+
}
21+
1722
fn perform_two_revs_same_deps(shallow: bool) {
1823
let bar = git::new("meta-dep", |project| {
1924
project
@@ -106,11 +111,6 @@ fn perform_two_revs_same_deps(shallow: bool) {
106111
foo.process(&foo.bin("foo")).run();
107112
}
108113

109-
#[cargo_test]
110-
fn two_revs_same_deps() {
111-
perform_two_revs_same_deps(false)
112-
}
113-
114114
#[cargo_test]
115115
fn gitoxide_clones_registry_with_shallow_protocol_and_follow_up_with_git2_fetch(
116116
) -> anyhow::Result<()> {

0 commit comments

Comments
 (0)