Skip to content

Commit

Permalink
Fix some cpplint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Dec 3, 2023
1 parent 92760e5 commit ad9aea5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion common/messaging/SchemaPrinterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ void SchemaPrinterTest::testPrinter() {

string expected = (
"On/Off: bool\nName: string [0, 32]\nCount: uint8\n"
"Address: IPv4 address\nv6 Address: IPv6 address\nMAC Address: MAC\nDevice: UID\n");
"Address: IPv4 address\nv6 Address: IPv6 address\nMAC Address: MAC\n"
"Device: UID\n");
OLA_ASSERT_EQ(expected, printer.AsString());
}

Expand Down
3 changes: 2 additions & 1 deletion common/rdm/MessageDeserializerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ void MessageDeserializerTest::testIPV6() {
Descriptor descriptor("Test Descriptor", fields);

// now setup the data
const uint8_t big_endian_data[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 10, 0, 0, 1};
const uint8_t big_endian_data[] = {0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 255, 255, 10, 0, 0, 1};

// now the correct amount & verify
auto_ptr<const Message> message(m_deserializer.InflateMessage(
Expand Down

0 comments on commit ad9aea5

Please sign in to comment.