mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Protect some parts of code from clang-format
This commit is contained in:
@@ -49,12 +49,14 @@ protected:
|
||||
};
|
||||
|
||||
TEST_F(EscapeTest, Test) {
|
||||
// clang-format off
|
||||
// input url html sql msgtag
|
||||
testString("abcdefg","abcdefg", "abcdefg", "abcdefg", "abcdefg");
|
||||
testString("\n\t\r", "%0A%09%0D", "\n\t\r", "\\n\\t\\r", "\\n\t\\r");
|
||||
testString("'\"", "%27%22", "'"", "\\'\\\"", "'\"");
|
||||
testString("&<>", "%26%3C%3E", "&<>", "&<>", "&<>");
|
||||
testString(" ;", "+%3B", " ;", " ;", "\\s\\:");
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
TEST(StringTest, Bool) {
|
||||
|
||||
Reference in New Issue
Block a user