Skip to content

Commit

Permalink
test: forgot to use fake lookPath in exec_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nobbs committed Mar 2, 2024
1 parent 4da73bb commit 116328e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/view/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ var fakeLookPath = func(file string) (string, error) {
}

func TestFindEditor(t *testing.T) {
lookPath = fakeLookPath

type result struct {
binary string
args []string
Expand Down

0 comments on commit 116328e

Please sign in to comment.