Ver Fonte

AppVeyor/MinGW: Try to debug CI build

bel há 8 anos atrás
pai
commit
65f7ce85ec
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      test/timertest.c

+ 1 - 1
test/timertest.c

@@ -126,7 +126,7 @@ START_TEST(test_timer_cyclic)
 	{
 		int d = (c[0] * c[0]) + (c[1] * c[1]) + (c[2] * c[2]);
 		/* ck_assert_int_le(d, 3); <-- will crash */
-		if (d <= 3) {
+		if (d > 3) {
 			ck_abort_msg("Timer must be zero: (%i, %i, %i)", c[0], c[1], c[2]);
 		}
 	}