Skip to content

Commit

Permalink
CI seems to get more races than me
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jan 13, 2025
1 parent e547b5f commit c9c42a7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions internal/driver/glfw/canvas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,16 @@ func TestGlCanvas_Resize(t *testing.T) {
ensureCanvasSize(t, w, fyne.NewSize(69, 36))

size := fyne.NewSize(200, 100)
assert.NotEqual(t, size, content.Size())
runOnMain(func() {
assert.NotEqual(t, size, content.Size())
})

w.Resize(size)
ensureCanvasSize(t, w, size)
assert.Equal(t, size, content.Size())

runOnMain(func() {
assert.Equal(t, size, content.Size())
})
}

// TODO: this can be removed when #707 is addressed
Expand Down

0 comments on commit c9c42a7

Please sign in to comment.