Fix wrong comment in unit test

This commit is contained in:
Romain Vimont 2019-05-30 21:46:25 +02:00
parent ad4c061cd2
commit 63207d9cd5

View file

@ -39,7 +39,7 @@ static void test_serialize_text_event(void) {
assert(size == 16); assert(size == 16);
const unsigned char expected[] = { const unsigned char expected[] = {
0x01, // CONTROL_EVENT_TYPE_KEYCODE 0x01, // CONTROL_EVENT_TYPE_TEXT
0x00, 0x0d, // text length 0x00, 0x0d, // text length
'h', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '!', // text 'h', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '!', // text
}; };