Skip to content

Commit

Permalink
Fixup test for default shell
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Nov 27, 2023
1 parent 7a68323 commit 0824814
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ func TestEditor(t *testing.T) {

t.Run("creates a new editor with default args", func(t *testing.T) {
testDefaultShell := os.Getenv("SHELL")
if testDefaultShell == "" {
testDefaultShell = defaultShell
}
r := require.New(t)
edit, err := NewEditor([]string{})
r.NoError(err)
Expand Down

0 comments on commit 0824814

Please sign in to comment.