Skip to content

Commit 04c1829

Browse files
committed
test: Remove test cases handled by revwalk ones
1 parent 77e1bc1 commit 04c1829

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/components/commitlist.rs

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,35 +1046,4 @@ mod tests {
10461046
))
10471047
);
10481048
}
1049-
1050-
#[test]
1051-
#[ignore = "needs real repository to run test. Will be moved to revwalk module."]
1052-
fn test_copy_commit_range_marked() {
1053-
let cl = build_commit_list_with_some_commits();
1054-
let cl = CommitList {
1055-
marked: build_marked_from_indices(&cl, &[4, 5, 6, 7]),
1056-
..cl
1057-
};
1058-
assert_eq!(
1059-
cl.concat_selected_commit_ids().unwrap(),
1060-
Some(String::from("0000000000000000000000000000000000000005^..0000000000000000000000000000000000000002"))
1061-
);
1062-
}
1063-
1064-
#[test]
1065-
#[ignore = "needs real repository to run test. Will be moved to revwalk module."]
1066-
fn test_copy_commit_random_marked() {
1067-
let cl = build_commit_list_with_some_commits();
1068-
let cl = CommitList {
1069-
marked: build_marked_from_indices(&cl, &[4, 7]),
1070-
..cl
1071-
};
1072-
assert_eq!(
1073-
cl.concat_selected_commit_ids().unwrap(),
1074-
Some(String::from(concat!(
1075-
"0000000000000000000000000000000000000002 ",
1076-
"0000000000000000000000000000000000000005"
1077-
)))
1078-
);
1079-
}
10801049
}

0 commit comments

Comments
 (0)