From 574f0dd12da2eae6f26ae35f197b2ec7a9328249 Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Thu, 20 Mar 2014 03:29:54 +0100 Subject: Remote: remove Get prefix from refspecs Idiomatic Go is to omit the Get from the getter methods. --- remote_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote_test.go') diff --git a/remote_test.go b/remote_test.go index 16675fc..04b3a57 100644 --- a/remote_test.go +++ b/remote_test.go @@ -20,7 +20,7 @@ func TestRefspecs(t *testing.T) { err = remote.SetFetchRefspecs(expected) checkFatal(t, err) - actual, err := remote.GetFetchRefspecs() + actual, err := remote.FetchRefspecs() checkFatal(t, err) compareStringList(t, expected, actual) -- cgit v1.2.3