Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Apr 30, 2024
1 parent a63dfac commit d664806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neqo-transport/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ mod tests {
let f = Frame::ConnectionClose {
error_code: CloseError::Transport(0x5678),
frame_type: 0x1234,
reason_phrase: String::from_utf8("\u{1}\u{2}\u{3}"),
reason_phrase: String::from_utf8(vec![0x01, 0x02, 0x03]).unwrap(),
};

just_dec(&f, "1c80005678523403010203");
Expand All @@ -936,7 +936,7 @@ mod tests {
let f = Frame::ConnectionClose {
error_code: CloseError::Application(0x5678),
frame_type: 0,
reason_phrase: String::from_utf8("\u{1}\u{2}\u{3}"),
reason_phrase: String::from_utf8(vec![0x01, 0x02, 0x03]).unwrap(),
};

just_dec(&f, "1d8000567803010203");
Expand Down

0 comments on commit d664806

Please sign in to comment.