improves the git feature by adding a conflict status
This commit is contained in:
@@ -29,9 +29,9 @@ import Testing
|
||||
])
|
||||
}
|
||||
|
||||
@Test("a merge conflict stays one row", arguments: [("U", "U"), ("A", "A"), ("D", "D"), ("U", "D")] as [(Character, Character)])
|
||||
@Test("a merge conflict stays one unstaged U row", arguments: [("U", "U"), ("A", "A"), ("D", "D"), ("U", "D")] as [(Character, Character)])
|
||||
func conflict(index: Character, working: Character) {
|
||||
#expect(Porcelain.classify(index: index, working: working) == [GitRowSpec(status: .modified, staged: true)])
|
||||
#expect(Porcelain.classify(index: index, working: working) == [GitRowSpec(status: .unmerged, staged: false)])
|
||||
}
|
||||
|
||||
// MARK: headers
|
||||
|
||||
Reference in New Issue
Block a user