diff options
Diffstat (limited to 'AK/Tests/TestBase64.cpp')
-rw-r--r-- | AK/Tests/TestBase64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Tests/TestBase64.cpp b/AK/Tests/TestBase64.cpp index 9e65c03a83..5b19bcd544 100644 --- a/AK/Tests/TestBase64.cpp +++ b/AK/Tests/TestBase64.cpp @@ -49,7 +49,7 @@ TEST_CASE(test_decode) TEST_CASE(test_encode) { auto encode_equal = [&](const char* input, const char* expected) { - auto encoded = encode_base64(ByteBuffer::wrap(input, strlen(input))); + auto encoded = encode_base64({ input, strlen(input) }); EXPECT(encoded == String(expected)); }; |