mirror of
https://github.com/restic/restic.git
synced 2026-10-16 14:47:11 +00:00
Fix tests
This commit is contained in:
1 parent
3ac1d0e4d1
commit
d1ca986f55
1 file changed
+5
-1
@@ -51,7 +51,11 @@ func checkStruct(chkr *checker.Checker) []error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func checkData(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) {
|
func TestCheckRepo(t *testing.T) {
|
||||||
|
|||||||
Reference in new issue
Block a user