Skip to content

Commit

Permalink
fix connect packet test
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis authored Sep 23, 2024
1 parent 6038eb9 commit bc23ad5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_packets/test_packets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void test_encodeConnect0() {
0b00010000, // header
0x11, // remaining length
0x00,0x06,'M','Q','I','s', 'd', 'p', // protocol
0b00000100, // protocol level
0b000000011, // protocol level
0b00000010, // connect flags
0x00,0x10, // keepalive (16)
0x00,0x03,'c','l','i' // client id
Expand Down Expand Up @@ -59,7 +59,7 @@ void test_encodeConnect1() {
0b00010000, // header
0x22, // remaining length
0x00,0x06,'M','Q','I','s', 'd', 'p', // protocol
0b00000100, // protocol level
0b00000011, // protocol level
0b11101110, // connect flags
0x00,0x10, // keepalive (16)
0x00,0x03,'c','l','i', // client id
Expand Down Expand Up @@ -109,7 +109,7 @@ void test_encodeConnect2() {
0b00010000, // header
0x22, // remaining length
0x00,0x06,'M','Q','I','s', 'd', 'p', // protocol
0b00000100, // protocol level
0b00000011, // protocol level
0b11110110, // connect flags
0x00,0x10, // keepalive (16)
0x00,0x03,'c','l','i', // client id
Expand Down

0 comments on commit bc23ad5

Please sign in to comment.