Skip to content

Commit

Permalink
Merge branch 'main' into clang3
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera authored Jun 4, 2024
2 parents 80b0dc1 + 06cf4d8 commit 56fc326
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/aws/testing/aws_test_harness.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int s_cunit_failure_message0(
if (assert_rv != AWS_OP_SUCCESS) { \
if (!PRINT_FAIL_INTERNAL0(__VA_ARGS__)) { \
PRINT_FAIL_INTERNAL0( \
"Expected success at %s; got return value %d with last error 0x%04d\n", \
"Expected success at %s; got return value %d with last error %d\n", \
#condition, \
assert_rv, \
aws_last_error()); \
Expand All @@ -150,7 +150,7 @@ static int s_cunit_failure_message0(
if (assert_rv != AWS_OP_ERR) { \
if (!PRINT_FAIL_INTERNAL0(__VA_ARGS__)) { \
PRINT_FAIL_INTERNAL0( \
"Expected failure at %s; got return value %d with last error 0x%04d\n", \
"Expected failure at %s; got return value %d with last error %d\n", \
#condition, \
assert_rv, \
aws_last_error()); \
Expand All @@ -167,7 +167,7 @@ static int s_cunit_failure_message0(
if (assert_rv != AWS_OP_ERR) { \
fprintf( \
AWS_TESTING_REPORT_FD, \
"%sExpected error but no error occurred; rv=%d, aws_last_error=%04d (expected %04d): ", \
"%sExpected error but no error occurred; rv=%d, aws_last_error=%d (expected %d): ", \
FAIL_PREFIX, \
assert_rv, \
assert_err, \
Expand All @@ -180,7 +180,7 @@ static int s_cunit_failure_message0(
if (assert_err != assert_err_expect) { \
fprintf( \
AWS_TESTING_REPORT_FD, \
"%sIncorrect error code; aws_last_error=%04d (expected %04d): ", \
"%sIncorrect error code; aws_last_error=%d (expected %d): ", \
FAIL_PREFIX, \
assert_err, \
assert_err_expect); \
Expand Down

0 comments on commit 56fc326

Please sign in to comment.