Skip to content

Commit

Permalink
test: fix test for text input
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Nov 14, 2023
1 parent 6ae9761 commit 89ca36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func TestText(t *testing.T) {
t.Error("Expected field to contain Huh.")
}

if !strings.Contains(view, "tab next • ctrl+e open editor • shift+tab back") {
if !strings.Contains(view, "enter next • alt+enter / ctrl+j new line • ctrl+e open editor • shift+tab back") {
t.Log(pretty.Render(view))
t.Error("Expected field to contain help.")
}
Expand Down

0 comments on commit 89ca36b

Please sign in to comment.