mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Merge pull request #17641 from fjmolinas/pr_senml_saul_default
tests/senml: do no include saul_default
This commit is contained in:
commit
f6b7255275
@ -104,7 +104,7 @@ void test_senml_encode(void)
|
||||
fmt_bytes_hex(result, cbor_buf, len);
|
||||
|
||||
/* Compare hex result */
|
||||
TEST_ASSERT_EQUAL_INT(2 * len, sizeof expect - 1);
|
||||
TEST_ASSERT_EQUAL_INT(2 * len, sizeof(expect) - 1);
|
||||
TEST_ASSERT_EQUAL_INT(0, strncmp(expect, result, len));
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
include ../Makefile.tests_common
|
||||
|
||||
USEMODULE += saul_default
|
||||
USEMODULE += senml_saul
|
||||
USEMODULE += fmt
|
||||
USEMODULE += embunit
|
||||
|
||||
@ -39,7 +39,7 @@ void test_senml_encode(void)
|
||||
fmt_bytes_hex(result, cbor_buf, len);
|
||||
|
||||
/* Compare hex result */
|
||||
TEST_ASSERT_EQUAL_INT(2 * len, sizeof expect - 1);
|
||||
TEST_ASSERT_EQUAL_INT(2 * len, sizeof(expect) - 1);
|
||||
TEST_ASSERT_EQUAL_INT(0, strncmp(expect, result, len));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user