Skip to content

Commit

Permalink
remove now-unneeded lock in test code
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Dec 10, 2023
1 parent e7622ce commit dcb81b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/animation/animation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ func TestGLDriver_StopAnimation(t *testing.T) {
t.Error("animation was not ticked")
}
a.Stop()
run.animationMutex.Lock()
assert.True(t, a.State() == fyne.AnimationStateStopped, "animation was not stopped")
run.animationMutex.Unlock()
}

func TestGLDriver_StopAnimationImmediatelyAndInsideTick(t *testing.T) {
Expand Down

0 comments on commit dcb81b3

Please sign in to comment.