Improve failure message when a packet parser test fails

This commit is contained in:
2024-04-13 17:25:49 +10:00
parent 83f6e8fa52
commit 168c1414bd

View File

@@ -17,7 +17,7 @@ void run_parse_test(const uint8_t *packet_data, Packet &packet)
bool result = packetParser.parsePacket(packet_data, packet); bool result = packetParser.parsePacket(packet_data, packet);
TEST_ASSERT_TRUE(result); TEST_ASSERT_TRUE_MESSAGE(result, "Unable to parse packet_data");
} }
void test_parse_stop() void test_parse_stop()