Skip to content

Commit

Permalink
context: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed May 22, 2024
1 parent 26e84b3 commit 649afc9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,3 @@ func Test_invalidState(t *testing.T) {
assert.Nil(t, GetState[teststate](ctx, state1ID),
"although state hasn't been accessed during the frame, it hasn't ben deleted by invalidAllState/cleanState")
}

func Test_GetWidgetIndex(t *testing.T) {
ctx := CreateContext(nil)
for i := 0; i <= 3; i++ {
assert.Equal(t, i, ctx.GetWidgetIndex(), "widget index wasn't increased")
}
}

0 comments on commit 649afc9

Please sign in to comment.