Skip to content
Snippets Groups Projects
Commit 75678436 authored by Peter Thedens's avatar Peter Thedens
Browse files

test commit

parent 5b127cf5
No related branches found
No related tags found
No related merge requests found
......@@ -187,8 +187,8 @@ void test_try_receive_packet_fails_when_BE_length_data_and_run_out() {
TEST_ASSERT_EQUAL(-1, try_receive_packet(uart));
TEST_ASSERT_EQUAL(11, bytes_recv);
//u8 expected[] = {0xBE, 0, 0, 0, 0, 4, 0, 1, 2, 3, 4};
TEST_ASSERT_EQUAL_UINT8_ARRAY((({0xBE, 0, 0, 0, 0, 4, 0, 1, 2, 3, 4})), packet, 11);
u8 expected[] = {0xBE, 0, 0, 0, 0, 4, 0, 1, 2, 3, 4};
TEST_ASSERT_EQUAL_UINT8_ARRAY(expected, packet, 11);
// Try again to verify that we actually ran out
TEST_ASSERT_EQUAL(-1, try_receive_packet(uart));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment