diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-05-16 14:21:19 -0400 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-05-16 14:21:19 -0400 |
| commit | d368c989e7dce342626c1a0afd9258eb149d5299 (patch) | |
| tree | 65814efe7031ab83de534234a227b71e4e108d0c /Source/UnitTests/Common/StringUtilTest.cpp | |
| parent | 21df3ca572a0fad37440b29c56c83d50c45c92f4 (diff) | |
StringUtil: Move GetEscapedHtml() into Common namespace
Diffstat (limited to 'Source/UnitTests/Common/StringUtilTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/StringUtilTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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("&&&"), "&&&"); } |
