summaryrefslogtreecommitdiff
path: root/tests/test-pseudotcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pseudotcp.c')
-rw-r--r--tests/test-pseudotcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pseudotcp.c b/tests/test-pseudotcp.c
index e35138a..e975dd9 100644
--- a/tests/test-pseudotcp.c
+++ b/tests/test-pseudotcp.c
@@ -124,7 +124,7 @@ static void readable (PseudoTcpSocket *sock, gpointer data)
else {
total_wrote += len;
- g_assert (total_wrote <= total_read);
+ g_assert_cmpint (total_wrote, <=, total_read);
g_debug ("Written %d bytes, need %d bytes", total_wrote, total_read);
if (total_wrote == total_read && feof (in)) {
g_assert (reading_done);