Imported Upstream version 0.1.17
[platform/upstream/libnice.git] / tests / test-pseudotcp-fuzzy.c
index a9bf62f..3c41a9b 100644 (file)
@@ -173,7 +173,7 @@ 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);