mirror of
https://github.com/restic/restic.git
synced 2024-12-23 16:26:11 +00:00
restorer: remove redundant type specification
This commit is contained in:
parent
dc2e664209
commit
645a6efaf2
1 changed files with 9 additions and 9 deletions
|
@ -179,26 +179,26 @@ func TestFileRestorerBasic(t *testing.T) {
|
||||||
defer cleanup()
|
defer cleanup()
|
||||||
|
|
||||||
restoreAndVerify(t, tempdir, []TestFile{
|
restoreAndVerify(t, tempdir, []TestFile{
|
||||||
TestFile{
|
{
|
||||||
name: "file1",
|
name: "file1",
|
||||||
blobs: []TestBlob{
|
blobs: []TestBlob{
|
||||||
TestBlob{"data1-1", "pack1-1"},
|
{"data1-1", "pack1-1"},
|
||||||
TestBlob{"data1-2", "pack1-2"},
|
{"data1-2", "pack1-2"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
TestFile{
|
{
|
||||||
name: "file2",
|
name: "file2",
|
||||||
blobs: []TestBlob{
|
blobs: []TestBlob{
|
||||||
TestBlob{"data2-1", "pack2-1"},
|
{"data2-1", "pack2-1"},
|
||||||
TestBlob{"data2-2", "pack2-2"},
|
{"data2-2", "pack2-2"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
TestFile{
|
{
|
||||||
name: "file3",
|
name: "file3",
|
||||||
blobs: []TestBlob{
|
blobs: []TestBlob{
|
||||||
// same blob multiple times
|
// same blob multiple times
|
||||||
TestBlob{"data3-1", "pack3-1"},
|
{"data3-1", "pack3-1"},
|
||||||
TestBlob{"data3-1", "pack3-1"},
|
{"data3-1", "pack3-1"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue