Skip to content

Commit

Permalink
test(codecs): add missing assert in codec decoding tests (#20998)
Browse files Browse the repository at this point in the history
test: fix missing assert
  • Loading branch information
jorgehermo9 committed Aug 6, 2024
1 parent 8a77d7c commit aab836b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/codecs/src/decoding/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,14 +498,14 @@ mod tests {
fn gelf_stream_default_framing_is_null_delimited() {
let deserializer_config = DeserializerConfig::from(GelfDeserializerConfig::default());
let framing_config = deserializer_config.default_stream_framing();
matches!(
assert!(matches!(
framing_config,
FramingConfig::CharacterDelimited(CharacterDelimitedDecoderConfig {
character_delimited: CharacterDelimitedDecoderOptions {
delimiter: 0,
max_length: None,
}
})
);
));
}
}

0 comments on commit aab836b

Please sign in to comment.