mirror of
https://github.com/restic/restic.git
synced 2025-08-12 03:47:41 +00:00
Fix tests
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user