svn commit: r1925630 - /apr/apr/trunk/test/testbuckets.c

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
Author: ivan
Date: Sat May 17 13:19:10 2025
New Revision: 1925630

URL: http://svn.apache.org/viewvc?rev=1925630&view=rev
Log:
test/testbuckets.c: Use ABTS_SIZE_EQUAL() instead of ABTS_INT_EQUAL() to
check iov_len.

Modified:
    apr/apr/trunk/test/testbuckets.c

Modified: apr/apr/trunk/test/testbuckets.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testbuckets.c?rev=1925630&r1=1925629&r2=1925630&view=diff
==============================================================================
--- apr/apr/trunk/test/testbuckets.c (original)
+++ apr/apr/trunk/test/testbuckets.c Sat May 17 13:19:10 2025
@@ -649,9 +649,9 @@ static void test_iovec(abts_case *tc, vo
 
     ABTS_INT_EQUAL(tc, 2, vecs);
     ABTS_STR_EQUAL(tc, "foo", vec[0].iov_base);
-    ABTS_INT_EQUAL(tc, 3, vec[0].iov_len);
+    ABTS_SIZE_EQUAL(tc, 3, vec[0].iov_len);
     ABTS_STR_EQUAL(tc, "bar", vec[1].iov_base);
-    ABTS_INT_EQUAL(tc, 3, vec[1].iov_len);
+    ABTS_SIZE_EQUAL(tc, 3, vec[1].iov_len);
 
     apr_brigade_destroy(bb);
     apr_bucket_alloc_destroy(ba);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.