Skip to content

Commit 3f09fd9

Browse files
MariuszSkamracarlescufi
authored andcommitted
tests: net: buf: Fix invalid check in test
This fixes using invalid byte array for verification of 64 bit value. Signed-off-by: Mariusz Skamra <[email protected]>
1 parent 4a1d078 commit 3f09fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/net/buf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ ZTEST(net_buf_tests, test_net_buf_byte_order)
573573
zassert_mem_equal(le64, net_buf_pull_mem(buf, sizeof(le64)),
574574
sizeof(le64), "Invalid 64 bits byte order");
575575
zassert_mem_equal(be64, net_buf_pull_mem(buf, sizeof(be64)),
576-
sizeof(be48), "Invalid 64 bits byte order");
576+
sizeof(be64), "Invalid 64 bits byte order");
577577

578578
/* push/remove byte order */
579579
net_buf_reset(buf);

0 commit comments

Comments
 (0)