mirror of
https://github.com/znc/znc.git
synced 2026-05-02 03:22:33 +02:00
Protect some parts of code from clang-format
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user