diff options
Diffstat (limited to 'Tests/AK/TestFormat.cpp')
-rw-r--r-- | Tests/AK/TestFormat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/AK/TestFormat.cpp b/Tests/AK/TestFormat.cpp index 29c922316d..6ba944312b 100644 --- a/Tests/AK/TestFormat.cpp +++ b/Tests/AK/TestFormat.cpp @@ -204,7 +204,7 @@ template<> struct AK::Formatter<B> : Formatter<StringView> { ErrorOr<void> format(FormatBuilder& builder, B) { - return Formatter<StringView>::format(builder, "B"); + return Formatter<StringView>::format(builder, "B"sv); } }; @@ -288,7 +288,7 @@ template<> struct AK::Formatter<C> : AK::Formatter<FormatString> { ErrorOr<void> format(FormatBuilder& builder, C c) { - return AK::Formatter<FormatString>::format(builder, "C(i={})", c.i); + return AK::Formatter<FormatString>::format(builder, "C(i={})"sv, c.i); } }; |