mirror of
https://github.com/restic/restic.git
synced 2026-09-29 23:40:29 +00:00
rename LocationParse -> Parse
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user