Protect some parts of code from clang-format

This commit is contained in:
Alexey Sokolov
2015-12-07 00:12:20 +00:00
parent 7869de1e0f
commit 02f8749a8b
4 changed files with 10 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ TEST_F(BufferTest, AddLine) {
}
TEST_F(BufferTest, UpdateLine) {
// clang-format off
CBuffer buffer(50);
VCString lines = {
@@ -129,4 +130,5 @@ TEST_F(BufferTest, UpdateLine) {
EXPECT_EQ(17u, buffer.UpdateExactLine(CMessage(":irc.server.com 005 nick FOO=bar :are supported by this server")));
EXPECT_EQ(":irc.server.com 005 nick FOO=bar :are supported by this server", buffer.GetBufLine(16).GetFormat());
// clang-format on
}