diff options
Diffstat (limited to 'Tests/LibC/TestStrlcpy.cpp')
-rw-r--r-- | Tests/LibC/TestStrlcpy.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Tests/LibC/TestStrlcpy.cpp b/Tests/LibC/TestStrlcpy.cpp index 9458710600..407c307e2f 100644 --- a/Tests/LibC/TestStrlcpy.cpp +++ b/Tests/LibC/TestStrlcpy.cpp @@ -14,15 +14,15 @@ #include <string.h> struct Testcase { - const char* dest; + char const* dest; size_t dest_n; - const char* src; + char const* src; size_t src_n; - const char* dest_expected; + char const* dest_expected; size_t dest_expected_n; // == dest_n }; -static String show(const ByteBuffer& buf) +static String show(ByteBuffer const& buf) { StringBuilder builder; for (size_t i = 0; i < buf.size(); ++i) { @@ -40,7 +40,7 @@ static String show(const ByteBuffer& buf) return builder.build(); } -static bool test_single(const Testcase& testcase) +static bool test_single(Testcase const& testcase) { constexpr size_t SANDBOX_CANARY_SIZE = 8; |