summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/StringUtilTest.cpp
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-05-16 14:21:19 -0400
committerLioncash <mai.iam2048@gmail.com>2023-05-16 14:21:19 -0400
commitd368c989e7dce342626c1a0afd9258eb149d5299 (patch)
tree65814efe7031ab83de534234a227b71e4e108d0c /Source/UnitTests/Common/StringUtilTest.cpp
parent21df3ca572a0fad37440b29c56c83d50c45c92f4 (diff)
StringUtil: Move GetEscapedHtml() into Common namespace
Diffstat (limited to 'Source/UnitTests/Common/StringUtilTest.cpp')
-rw-r--r--Source/UnitTests/Common/StringUtilTest.cpp6
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("&<>'\""), "&amp;&lt;&gt;&apos;&quot;");
- EXPECT_EQ(GetEscapedHtml("&&&"), "&amp;&amp;&amp;");
+ EXPECT_EQ(Common::GetEscapedHtml(no_escape_needed), no_escape_needed);
+ EXPECT_EQ(Common::GetEscapedHtml("&<>'\""), "&amp;&lt;&gt;&apos;&quot;");
+ EXPECT_EQ(Common::GetEscapedHtml("&&&"), "&amp;&amp;&amp;");
}