mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/testing: add the default exit code 1
This confirms that Update is really called.
This commit is contained in:
parent
d08c1dbf8d
commit
4b2a9c3243
@ -42,6 +42,7 @@ func MainWithRunLoop(m *testing.M) {
|
||||
// Run an Ebiten process so that (*Image).At is available.
|
||||
g := &game{
|
||||
m: m,
|
||||
code: 1,
|
||||
}
|
||||
if err := ebiten.RunGame(g); err != nil {
|
||||
panic(err)
|
||||
|
Loading…
Reference in New Issue
Block a user