Skip to content

Commit

Permalink
test(engineioxide/payload) fix string_payload_iterator_v3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Totodore committed Aug 13, 2023
1 parent 5553397 commit 12b3532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engineioxide/src/payload/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ mod tests {
async fn string_payload_iterator_v3() {
assert!(cfg!(feature = "v3"));

let data = Full::new(Bytes::from("4:4foo3:4€f10:4faaaaaaaaa"));
let data = Full::new(Bytes::from("4:4foo3:4€f11:4faaaaaaaaa"));
let payload = v3_string_decoder(data, MAX_PAYLOAD);
futures::pin_mut!(payload);
assert!(matches!(
Expand All @@ -428,7 +428,7 @@ mod tests {
));
assert!(matches!(
payload.next().await.unwrap().unwrap(),
Packet::Message(msg) if msg == "faaaaaaaa"
Packet::Message(msg) if msg == "faaaaaaaaa"
));
assert!(payload.next().await.is_none());
}
Expand Down

0 comments on commit 12b3532

Please sign in to comment.