forked from TrueCloudLab/restic
Fix tests
This commit is contained in:
parent
3ac1d0e4d1
commit
d1ca986f55
1 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,11 @@ func checkStruct(chkr *checker.Checker) []error {
|
|||
}
|
||||
|
||||
func checkData(chkr *checker.Checker) []error {
|
||||
return collectErrors(chkr.ReadData)
|
||||
return collectErrors(
|
||||
func(errCh chan<- error, done <-chan struct{}) {
|
||||
chkr.ReadData(nil, errCh, done)
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
func TestCheckRepo(t *testing.T) {
|
||||
|
|
Loading…
Reference in a new issue