2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00

Fix formatting for gofmt with Go 1.11

This commit is contained in:
Alexander Neumann 2018-08-01 23:56:11 +02:00
parent 16e20676b6
commit aaff8803ef

View File

@ -194,12 +194,12 @@ func TestTestWalkFiles(t *testing.T) {
},
},
want: map[string]string{
"foo": "<File>",
"subdir": "<Dir>",
"foo": "<File>",
"subdir": "<Dir>",
filepath.FromSlash("subdir/subfile"): "<File>",
"x": "<Dir>",
filepath.FromSlash("x/y"): "<Dir>",
filepath.FromSlash("x/y/link"): "<Symlink>",
"x": "<Dir>",
filepath.FromSlash("x/y"): "<Dir>",
filepath.FromSlash("x/y/link"): "<Symlink>",
},
},
}
@ -373,7 +373,7 @@ func TestTestEnsureSnapshot(t *testing.T) {
}{
{
files: map[string]interface{}{
"foo": TestFile{Content: "foo"},
"foo": TestFile{Content: "foo"},
filepath.FromSlash("subdir/subfile"): TestFile{Content: "bar"},
filepath.FromSlash("x/y/link"): TestSymlink{Target: filepath.FromSlash("../../foo")},
},