Skip to content

Commit e228fd7

Browse files
committed
test: fix
refs b24e532 refs #407
1 parent b24e532 commit e228fd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎huh_test.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ func TestSelect(t *testing.T) {
476476

477477
view = ansi.Strip(f.View())
478478

479-
if got, ok := field.Hovered(); !ok || got != "Foo" {
479+
if got, ok := field.Hovered(); !ok || got != "Bar" {
480480
t.Log(pretty.Render(view))
481481
t.Error("Expected cursor to be on Bar.")
482482
}
@@ -531,7 +531,7 @@ func TestMultiSelect(t *testing.T) {
531531
m, _ := f.Update(keys('j'))
532532
view = ansi.Strip(m.View())
533533

534-
if got, ok := field.Hovered(); !ok || got != "Foo" {
534+
if got, ok := field.Hovered(); !ok || got != "Bar" {
535535
t.Log(pretty.Render(view))
536536
t.Error("Expected cursor to be on Bar.")
537537
}

0 commit comments

Comments
 (0)
⌂ 换网址