Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Fix Error Handling in Test-Function
Browse files Browse the repository at this point in the history
  • Loading branch information
SnoutBug committed Nov 21, 2023
1 parent 71085ee commit 6aab061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multitouch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func TestMultiTouchMoveToFailsOnClosedDevice(t *testing.T) {
}

err = contacts[0].TouchDownAt(1, 1)
if err != nil {
if err == nil {
t.Fatalf("Expected error due to closed device, but no error was returned.")
}
}
Expand Down

0 comments on commit 6aab061

Please sign in to comment.