forked from TrueCloudLab/restic
Fix formatting for gofmt with Go 1.11
This commit is contained in:
parent
16e20676b6
commit
aaff8803ef
1 changed files with 6 additions and 6 deletions
|
@ -194,12 +194,12 @@ func TestTestWalkFiles(t *testing.T) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
want: map[string]string{
|
want: map[string]string{
|
||||||
"foo": "<File>",
|
"foo": "<File>",
|
||||||
"subdir": "<Dir>",
|
"subdir": "<Dir>",
|
||||||
filepath.FromSlash("subdir/subfile"): "<File>",
|
filepath.FromSlash("subdir/subfile"): "<File>",
|
||||||
"x": "<Dir>",
|
"x": "<Dir>",
|
||||||
filepath.FromSlash("x/y"): "<Dir>",
|
filepath.FromSlash("x/y"): "<Dir>",
|
||||||
filepath.FromSlash("x/y/link"): "<Symlink>",
|
filepath.FromSlash("x/y/link"): "<Symlink>",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -373,7 +373,7 @@ func TestTestEnsureSnapshot(t *testing.T) {
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
files: map[string]interface{}{
|
files: map[string]interface{}{
|
||||||
"foo": TestFile{Content: "foo"},
|
"foo": TestFile{Content: "foo"},
|
||||||
filepath.FromSlash("subdir/subfile"): TestFile{Content: "bar"},
|
filepath.FromSlash("subdir/subfile"): TestFile{Content: "bar"},
|
||||||
filepath.FromSlash("x/y/link"): TestSymlink{Target: filepath.FromSlash("../../foo")},
|
filepath.FromSlash("x/y/link"): TestSymlink{Target: filepath.FromSlash("../../foo")},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue