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 bb68e510..d5c218cb 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 []rune) bool { strs = append(strs, string(s)); return true },
+ pusher: func(s []byte) bool { strs = append(strs, string(s)); return true },
eventBox: eb}
// Check EventBox