diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-02-15 17:09:13 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-02-15 17:11:30 +0900 |
| commit | 7a72f1a2531d728d14faf5f61909f9ffa63c8dd3 (patch) | |
| tree | f9ba050a6b25b3991b5c9a92a4b9a8e6842ba99d /src/reader_test.go | |
| parent | 208e5563322436112bb263e69a72f89b41c7037e (diff) | |
| download | fzf-7a72f1a2531d728d14faf5f61909f9ffa63c8dd3.tar.gz | |
Code cleanup: Remove unused argument
Diffstat (limited to 'src/reader_test.go')
| -rw-r--r-- | src/reader_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader_test.go b/src/reader_test.go index feb45fc5..8a138da7 100644 --- a/src/reader_test.go +++ b/src/reader_test.go @@ -22,7 +22,7 @@ func TestReadFromCommand(t *testing.T) { } // Normal command - reader.fin(reader.readFromCommand(nil, `echo abc&&echo def`)) + reader.fin(reader.readFromCommand(`echo abc&&echo def`)) if len(strs) != 2 || strs[0] != "abc" || strs[1] != "def" { t.Errorf("%s", strs) } @@ -47,7 +47,7 @@ func TestReadFromCommand(t *testing.T) { reader.startEventPoller() // Failing command - reader.fin(reader.readFromCommand(nil, `no-such-command`)) + reader.fin(reader.readFromCommand(`no-such-command`)) strs = []string{} if len(strs) > 0 { t.Errorf("%s", strs) |
