File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -327,9 +327,9 @@ def test_add_conflict(testrepo):
327327
328328 assert index .conflicts is not None
329329 assert 'conflict.txt' in index .conflicts
330- conflict = index .conflicts ['conflict.txt' ]
331- assert conflict [ 0 ] .id == ancestor_blob_id
332- assert conflict [ 0 ] .mode == FileMode .BLOB_EXECUTABLE
333- assert conflict [ 1 ] .id == ours_blob_id
334- assert conflict [ 1 ] .mode == FileMode .BLOB
335- assert conflict [ 2 ] is None
330+ conflict_ancestor , conflict_ours , conflict_theirs = index .conflicts ['conflict.txt' ]
331+ assert conflict_ancestor .id == ancestor_blob_id
332+ assert conflict_ancestor .mode == FileMode .BLOB_EXECUTABLE
333+ assert conflict_ours .id == ours_blob_id
334+ assert conflict_ours .mode == FileMode .BLOB
335+ assert conflict_theirs is None
You can’t perform that action at this time.
0 commit comments