Protect some parts of code from clang-format
This commit is contained in:
1 parent
7869de1e0f
commit
02f8749a8b
4 files changed
+10
No files matched your search
@@ -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