Skip to content

Commit

Permalink
Update neqo-transport/src/frame.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Thomson <[email protected]>
Signed-off-by: Lars Eggert <[email protected]>
  • Loading branch information
larseggert and martinthomson authored May 2, 2024
1 parent d664806 commit e183594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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(vec![0x01, 0x02, 0x03]).unwrap(),
reason_phrase: String::from("\x01\x02\x03"),
};

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

0 comments on commit e183594

Please sign in to comment.