Skip to content

Commit

Permalink
Fix test to add back format test with padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
coleenp committed Jan 13, 2025
1 parent daea4cf commit 8e48d60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/hotspot/gtest/utilities/test_globalDefinitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ TEST(globalDefinitions, format_specifiers) {
check_format("%+zd", (ssize_t)-123, "-123");
check_format("%+zd", (ssize_t)2147483647, "+2147483647");
check_format("%+zd", (ssize_t)-2147483647, "-2147483647");
check_format("%5zd", (ssize_t)123, " 123");
check_format("%-5zd", (ssize_t)123, "123 ");
check_format(SIZE_FORMAT, (size_t)123u, "123");
check_format(SIZE_FORMAT_X, (size_t)0x123u, "0x123");
check_format(SIZE_FORMAT_X_0, (size_t)0x123u, "0x" LP64_ONLY("00000000") "00000123");
Expand Down

0 comments on commit 8e48d60

Please sign in to comment.