Skip to content

Commit 5244b2c

Browse files
committed
fix hexascii test
1 parent d71ccac commit 5244b2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ test_filter =
131131
;generic/test_float
132132
;generic/test_aeskey
133133
;test_generic_aesblock
134-
;generic/test_hexascii
134+
generic/test_hexascii
135135
;test_generic_lora_channelcollection
136136
;test_generic_settingscollection
137137
;generic/test_sps30

test/generic/test_hexascii/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void test_hexStringToByteArray() {
5555
const char input[17] = "0123456789ABCDEF";
5656
uint8_t output[8];
5757
uint8_t expectedOutput[8] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF};
58-
hexAscii::hexStringToByteArray(output, input);
58+
hexAscii::hexStringToByteArray(output, input, 16U);
5959
TEST_ASSERT_EQUAL_UINT8_ARRAY(expectedOutput, output, 8);
6060
}
6161

0 commit comments

Comments
 (0)