Skip to content

Commit dd7f330

Browse files
authored
test updated
1 parent 33da602 commit dd7f330

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ testParseGenerate('connack MQTT5 with properties', {
734734
retain: false,
735735
qos: 0,
736736
dup: false,
737-
length: 89,
737+
length: 87,
738738
sessionPresent: false,
739739
reasonCode: 0,
740740
properties: {
@@ -759,8 +759,8 @@ testParseGenerate('connack MQTT5 with properties', {
759759
authenticationData: Buffer.from([1, 2, 3, 4])
760760
}
761761
}, Buffer.from([
762-
32, 89, 0, 0,
763-
86, // properties length
762+
32, 87, 0, 0,
763+
84, // properties length
764764
17, 0, 0, 4, 210, // sessionExpiryInterval
765765
33, 1, 176, // receiveMaximum
766766
36, 2, // Maximum qos
@@ -773,7 +773,7 @@ testParseGenerate('connack MQTT5 with properties', {
773773
40, 1, // wildcardSubscriptionAvailable
774774
41, 1, // subscriptionIdentifiersAvailable
775775
42, 0, // sharedSubscriptionAvailable
776-
19, 0, 0, 4, 210, // serverKeepAlive
776+
19, 4, 210, // serverKeepAlive
777777
26, 0, 4, 116, 101, 115, 116, // responseInformation
778778
28, 0, 4, 116, 101, 115, 116, // serverReference
779779
21, 0, 4, 116, 101, 115, 116, // authenticationMethod

0 commit comments

Comments
 (0)