From d368c989e7dce342626c1a0afd9258eb149d5299 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 16 May 2023 14:21:19 -0400 Subject: StringUtil: Move GetEscapedHtml() into Common namespace --- Source/UnitTests/Common/StringUtilTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/UnitTests/Common/StringUtilTest.cpp') diff --git a/Source/UnitTests/Common/StringUtilTest.cpp b/Source/UnitTests/Common/StringUtilTest.cpp index 1f1159d1eb..357f7f9500 100644 --- a/Source/UnitTests/Common/StringUtilTest.cpp +++ b/Source/UnitTests/Common/StringUtilTest.cpp @@ -86,7 +86,7 @@ TEST(StringUtil, GetEscapedHtml) static constexpr auto no_escape_needed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" "!@#$%^*()-_=+,./?;:[]{}| \\\t\n"; - EXPECT_EQ(GetEscapedHtml(no_escape_needed), no_escape_needed); - EXPECT_EQ(GetEscapedHtml("&<>'\""), "&<>'""); - EXPECT_EQ(GetEscapedHtml("&&&"), "&&&"); + EXPECT_EQ(Common::GetEscapedHtml(no_escape_needed), no_escape_needed); + EXPECT_EQ(Common::GetEscapedHtml("&<>'\""), "&<>'""); + EXPECT_EQ(Common::GetEscapedHtml("&&&"), "&&&"); } -- cgit v1.2.3