summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/StringUtilTest.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-05-17 09:13:36 +0200
committerGitHub <noreply@github.com>2023-05-17 09:13:36 +0200
commit11768e3dd3e998bb874c919b96ae775826d6bd86 (patch)
tree97e72c6de727056e1cb2d5842890f0dd28af2f4e /Source/UnitTests/Common/StringUtilTest.cpp
parentfede2ab9a993a1bc0baa2a9f42f6446e10dfee2d (diff)
parent1a2b48c2047c367a2bbf3ca0dc73207053fb523b (diff)
Merge pull request #11829 from lioncash/strutil
Common/StringUtil: Move some utilities into the 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;");
}