This commit is contained in:
Mateusz Gruszczyński
2026-09-14 16:36:40 +02:00
parent 021cbddba5
commit 4bb9c8621a
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -513,7 +513,7 @@ mod tests {
let packet = encode_connect("app_123", "42", "secret", 60).unwrap();
assert_eq!(packet[0], 0x10);
assert!(packet.windows(6).any(|w| w == b"\0\x04MQTT"));
assert!(packet.windows(3).any(|w| w == b"\0\x0242"));
assert!(packet.windows(4).any(|w| w == b"\0\x0242"));
}
#[test]