mirror of
https://github.com/restic/restic.git
synced 2026-11-14 14:45:04 +00:00
rename LocationParse -> Parse
This commit is contained in:
1 parent
3d2a714b5a
commit
d257dedf42
2 files changed
+7
-7
No files matched your search
@@ -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