Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 28, 2024
1 parent d1d2a8a commit bf1d977
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion neqo-transport/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

use std::{cell::RefCell, mem, ops::Range, rc::Rc};

use neqo_common::{event::Provider, hex_with_len, qdebug, qtrace, Datagram, Decoder, Role};
use neqo_common::{event::Provider, hex_with_len, qtrace, Datagram, Decoder, Role};
use neqo_crypto::{
constants::{TLS_AES_128_GCM_SHA256, TLS_VERSION_1_3},
hkdf,
Expand Down
6 changes: 3 additions & 3 deletions neqo-transport/tests/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ fn packet_without_frames() {
packet,
);
client.process_input(&empty, now());
assert!(matches!(
assert_eq!(
client.state(),
State::Closed(ConnectionError::Transport(Error::ProtocolViolation))
));
&State::Closed(ConnectionError::Transport(Error::ProtocolViolation))
);
}

/// Overflow the crypto buffer.
Expand Down

0 comments on commit bf1d977

Please sign in to comment.