We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0736d2c commit 72aa4afCopy full SHA for 72aa4af
src/repo.rs
@@ -3424,6 +3424,8 @@ mod tests {
3424
3425
assert!(index.has_conflicts(), "index should have conflicts");
3426
3427
+ let mut conflict_count = 0;
3428
+
3429
let index_conflicts = index.conflicts().unwrap();
3430
for conflict in index_conflicts {
3431
let conflict = conflict.unwrap();
@@ -3498,7 +3500,10 @@ mod tests {
3498
3500
},
3499
3501
merge_file_result_content
3502
);
3503
3504
+ conflict_count += 1;
3505
}
3506
+ assert_eq!(conflict_count, 1, "There should be one conflict!");
3507
3508
3509
/// create the following:
0 commit comments