Protect some parts of code from clang-format

This commit is contained in:
Alexey Sokolov committed 2015-12-07 00:48:58 +00:00
1 parent 7869de1e0f
commit 02f8749a8b
4 files changed
+10

No files matched your search

+2
View File
@@ -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", "&amp;&lt;&gt;", "&<>", "&<>");
testString(" ;", "+%3B", " ;", " ;", "\\s\\:");
// clang-format on
}
TEST(StringTest, Bool) {