diff options
Diffstat (limited to 'src/reader_test.go')
-rw-r--r-- | src/reader_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader_test.go b/src/reader_test.go index 144a3ff1..00b9e337 100644 --- a/src/reader_test.go +++ b/src/reader_test.go @@ -10,7 +10,7 @@ func TestReadFromCommand(t *testing.T) { strs := []string{} eb := util.NewEventBox() reader := Reader{ - pusher: func(s string) { strs = append(strs, s) }, + pusher: func(s string) bool { strs = append(strs, s); return true }, eventBox: eb} // Check EventBox |