summaryrefslogtreecommitdiff
path: root/src/reader_test.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-04-27 18:36:37 +0900
committerGitHub <noreply@github.com>2024-04-27 18:36:37 +0900
commita4391aeedd4fec1865d2d646711f58d04058531b (patch)
tree73a6862010c323f380a3105f929b41a39c7a3753 /src/reader_test.go
parentb86a967ee217f4c820249701218a17eaad2737ae (diff)
downloadfzf-a4391aeedd4fec1865d2d646711f58d04058531b.tar.gz
Add --with-shell for shelling out with different command and flags (#3746)
Close #3732
Diffstat (limited to 'src/reader_test.go')
-rw-r--r--src/reader_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reader_test.go b/src/reader_test.go
index bf06fd09..56f9a1b0 100644
--- a/src/reader_test.go
+++ b/src/reader_test.go
@@ -10,9 +10,10 @@ import (
func TestReadFromCommand(t *testing.T) {
strs := []string{}
eb := util.NewEventBox()
+ exec := util.NewExecutor("")
reader := NewReader(
func(s []byte) bool { strs = append(strs, string(s)); return true },
- eb, false, true)
+ eb, exec, false, true)
reader.startEventPoller()