1
0
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:
Koen Zandberg 2022-02-11 17:20:36 +01:00 committed by GitHub
commit f6b7255275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -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));
}

View File

@ -1,6 +1,5 @@
include ../Makefile.tests_common
USEMODULE += saul_default
USEMODULE += senml_saul
USEMODULE += fmt
USEMODULE += embunit

View File

@ -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));
}