From aee7dd61cce24125f07156ba2c726eb65b9c26d9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Mar 2020 16:13:52 +0100 Subject: Make update test more tolerant --- test/test_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_update.c b/test/test_update.c index a84a990..ada3da8 100644 --- a/test/test_update.c +++ b/test/test_update.c @@ -107,7 +107,7 @@ main(int argc, char** argv) assert(!puglShowWindow(app.view)); // Tick until an expose happens - while (app.state <= EXPOSED1) { + while (app.state < EXPOSED1) { assert(!puglUpdate(app.world, timeout)); assert(app.state != UPDATED); } -- cgit v1.2.1