Add tests for generic attribute changes
This commit is contained in:
parent
d4be734c73
commit
4bbd25a37f
4 changed files with 770 additions and 36 deletions
|
@ -29,7 +29,7 @@ func TestRestorerRestoreEmptyHardlinkedFileds(t *testing.T) {
|
|||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
}, noopGetGenericAttributes)
|
||||
|
||||
res := NewRestorer(repo, sn, false, nil)
|
||||
|
||||
|
@ -95,7 +95,7 @@ func TestRestorerProgressBar(t *testing.T) {
|
|||
},
|
||||
"file2": File{Links: 1, Inode: 2, Data: "example"},
|
||||
},
|
||||
})
|
||||
}, noopGetGenericAttributes)
|
||||
|
||||
mock := &printerMock{}
|
||||
progress := restoreui.NewProgress(mock, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue