diff options
Diffstat (limited to 'test/testdup.c')
-rw-r--r-- | test/testdup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testdup.c b/test/testdup.c index 2e0d0e7e0..d57a47b35 100644 --- a/test/testdup.c +++ b/test/testdup.c @@ -81,7 +81,7 @@ static void test_file_readwrite(CuTest *tc) fpos = 0; rv = apr_file_seek(file1, APR_SET, &fpos); CuAssertIntEquals(tc, APR_SUCCESS, rv); - CuAssertIntEquals(tc, 0, fpos); + CuAssert(tc, "File position mismatch, expected 0", fpos == 0); txtlen = 50; rv = apr_file_read(file1, buff, &txtlen); @@ -166,7 +166,7 @@ static void test_dup2_readwrite(CuTest *tc) fpos = 0; rv = apr_file_seek(testfile, APR_SET, &fpos); CuAssertIntEquals(tc, APR_SUCCESS, rv); - CuAssertIntEquals(tc, 0, fpos); + CuAssert(tc, "File position mismatch, expected 0", fpos == 0); txtlen = 50; rv = apr_file_read(testfile, buff, &txtlen); |