summaryrefslogtreecommitdiffstats
path: root/src/reader_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader_test.go')
-rw-r--r--src/reader_test.go2
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