summaryrefslogtreecommitdiff
path: root/tests/internal-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internal-debug.c')
-rw-r--r--tests/internal-debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/internal-debug.c b/tests/internal-debug.c
index 894924920..40a6255a8 100644
--- a/tests/internal-debug.c
+++ b/tests/internal-debug.c
@@ -22,9 +22,9 @@ test_debugging (void)
#endif
#ifdef ENABLE_DEBUG
- g_assert (DEBUGGING == 1);
+ g_assert_cmpint (DEBUGGING, ==, 1);
#else
- g_assert (DEBUGGING == 0);
+ g_assert_cmpint (DEBUGGING, ==, 0);
#endif
}
@@ -42,7 +42,7 @@ test_not_debugging (void)
#error internal-debug.h should always define DEBUGGING
#endif
- g_assert (DEBUGGING == 0);
+ g_assert_cmpint (DEBUGGING, ==, 0);
}
#undef DEBUG_FLAG
@@ -60,9 +60,9 @@ test_debugging_again (void)
#endif
#ifdef ENABLE_DEBUG
- g_assert (DEBUGGING == 1);
+ g_assert_cmpint (DEBUGGING, ==, 1);
#else
- g_assert (DEBUGGING == 0);
+ g_assert_cmpint (DEBUGGING, ==, 0);
#endif
}