From e801c497409ce01faf91259b11b6cbd7b8346501 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 20 Apr 2020 20:51:07 +0100 Subject: [PATCH] Test #1715 --- test/StringTest.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/StringTest.cpp b/test/StringTest.cpp index aef7881d..7c2efec2 100644 --- a/test/StringTest.cpp +++ b/test/StringTest.cpp @@ -53,6 +53,8 @@ TEST_F(EscapeTest, Test) { testString("&<>", "%26%3C%3E", "&<>", "&<>", "&<>"); testString(" ;", "+%3B", " ;", " ;", "\\s\\:"); // clang-format on + EXPECT_EQ(CString("a<.b>c").Escape_n(CString::EHTML, CString::EASCII), + "a<.b>c"); } TEST(StringTest, Bool) { @@ -199,8 +201,8 @@ TEST(StringTest, Equals) { TEST(StringTest, Find) { EXPECT_EQ(CString("Hello, I'm Bob").Find("Hello"), 0u); - EXPECT_EQ( - CString("Hello, I'm Bob").Find("Hello", CString::CaseInsensitive), 0u); + EXPECT_EQ(CString("Hello, I'm Bob").Find("Hello", CString::CaseInsensitive), + 0u); EXPECT_EQ(CString("Hello, I'm Bob").Find("Hello", CString::CaseSensitive), 0u);