Skip to content

Commit

Permalink
test(form): fix height
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani authored and ardnew committed Apr 29, 2024
1 parent 0e9b290 commit c43989d
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 @@ -514,7 +514,7 @@ func TestSelectPageNavigation(t *testing.T) {
NewMultiSelect[string]().Options(opts...).Title("Choose"),
NewSelect[string]().Options(opts...).Title("Choose"),
} {
f := NewForm(NewGroup(field.WithHeight(10)))
f := NewForm(NewGroup(field)).WithHeight(10)
f.Update(f.Init())

view := f.View()
Expand Down

0 comments on commit c43989d

Please sign in to comment.