summaryrefslogtreecommitdiff
path: root/merge_test.go
diff options
context:
space:
mode:
authorSuhaib Mujahid <[email protected]>2020-05-09 23:32:17 -0400
committerSuhaib Mujahid <[email protected]>2020-05-09 23:32:17 -0400
commitcf6522c7fe093244a14334ced1c90c9791231a3e (patch)
treeeba9030b1449cddf6274b748fbfcf010680d35cd /merge_test.go
parent8b51d0db8e40e97283b771a5a51b13bea4651f81 (diff)
refactor: Rename methods with Get prefix
It is not Go idiomatic to put Get into the getter's name. https: //golang.org/doc/effective_go.html#Getters Co-Authored-By: lhchavez <[email protected]>
Diffstat (limited to 'merge_test.go')
-rw-r--r--merge_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/merge_test.go b/merge_test.go
index 7cf034f..319bef3 100644
--- a/merge_test.go
+++ b/merge_test.go
@@ -109,7 +109,7 @@ func TestMergeTreesWithoutAncestor(t *testing.T) {
if !index.HasConflicts() {
t.Fatal("expected conflicts in the index")
}
- _, err = index.GetConflict("README")
+ _, err = index.Conflict("README")
checkFatal(t, err)
}