Logging shortcuts return void, since logging functions are not expected to fail in most cases

This commit is contained in:
Pavel Kirienko
2014-04-01 23:15:35 +04:00
parent 8fbcf82cd6
commit 5d737cf171
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ TEST(Node, Basic)
ASSERT_LE(0, log_sub.start());
node1.getLogger().setLevel(uavcan::protocol::debug::LogLevel::DEBUG);
ASSERT_LE(1, node1.logInfo("test", "6 * 9 = 42"));
node1.logInfo("test", "6 * 9 = 42");
ASSERT_LE(0, node1.spin(uavcan::MonotonicDuration::fromMSec(20)));
ASSERT_LE(0, node2.spin(uavcan::MonotonicDuration::fromMSec(20)));