diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-07-22 03:21:20 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-07-22 03:21:20 +0900 |
commit | f469c25730aaa711b8327be068514c944074cce4 (patch) | |
tree | 3c386987c2bb227188b86f3e4438430262a7c6ca /src/reader_test.go | |
parent | 18469b69549f1efd5294ebeb357d1773fc3a241e (diff) |
Add --header-lines option
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 |