From d1ca986f55dd3e4e4375c56c3b6ac4fd0efb2e7e Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 6 Dec 2015 17:38:51 +0100 Subject: [PATCH] Fix tests --- checker/checker_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/checker/checker_test.go b/checker/checker_test.go index 350e2cbbc..99e89a22a 100644 --- a/checker/checker_test.go +++ b/checker/checker_test.go @@ -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) {