rename LocationParse -> Parse

This commit is contained in:
Alexander Neumann
2016-01-17 18:48:05 +01:00
parent 3d2a714b5a
commit d257dedf42
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -64,9 +64,9 @@ var parseTests = []struct {
},
}
func TestParseLocation(t *testing.T) {
func TestParse(t *testing.T) {
for i, test := range parseTests {
u, err := ParseLocation(test.s)
u, err := Parse(test.s)
if err != nil {
t.Errorf("unexpected error: %v", err)
continue