@@ -3685,9 +3685,9 @@ func TestExploreMode_HintBarTrailingOrder(t *testing.T) {
36853685 exploreAcceptIdx := hintIndex (explorePlain , "accept" )
36863686 exploreBackIdx := hintIndex (explorePlain , "back" )
36873687 exploreEscIdx := hintIndex (explorePlain , "discard" )
3688- require .Greater (t , exploreAcceptIdx , 0 , "accept hint should appear" )
3689- require .Greater (t , exploreBackIdx , 0 , "back hint should appear" )
3690- require .Greater (t , exploreEscIdx , 0 , "discard hint should appear" )
3688+ require .Positive (t , exploreAcceptIdx , "accept hint should appear" )
3689+ require .Positive (t , exploreBackIdx , "back hint should appear" )
3690+ require .Positive (t , exploreEscIdx , "discard hint should appear" )
36913691 assert .Less (t , exploreAcceptIdx , exploreBackIdx ,
36923692 "accept should come before back" )
36933693 assert .Less (t , exploreBackIdx , exploreEscIdx ,
@@ -3719,10 +3719,10 @@ func TestExploreMode_HintBarTrailingOrderMultiTab(t *testing.T) {
37193719 acceptIdx := hintIndex (plain , "accept" )
37203720 backIdx := hintIndex (plain , "back" )
37213721 escIdx := hintIndex (plain , "discard" )
3722- require .Greater (t , tabsIdx , 0 , "tabs hint should appear" )
3723- require .Greater (t , acceptIdx , 0 )
3724- require .Greater (t , backIdx , 0 )
3725- require .Greater (t , escIdx , 0 )
3722+ require .Positive (t , tabsIdx , "tabs hint should appear" )
3723+ require .Positive (t , acceptIdx )
3724+ require .Positive (t , backIdx )
3725+ require .Positive (t , escIdx )
37263726
37273727 assert .Less (t , tabsIdx , acceptIdx ,
37283728 "tabs should come before stable trailing group" )
0 commit comments