From aab836b502d3cc23594655d0d72224768122905a Mon Sep 17 00:00:00 2001 From: Jorge Hermo Date: Tue, 6 Aug 2024 21:34:09 +0200 Subject: [PATCH] test(codecs): add missing assert in codec decoding tests (#20998) test: fix missing assert --- lib/codecs/src/decoding/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/codecs/src/decoding/mod.rs b/lib/codecs/src/decoding/mod.rs index 0f418be040b46..9590fb21da0ec 100644 --- a/lib/codecs/src/decoding/mod.rs +++ b/lib/codecs/src/decoding/mod.rs @@ -498,7 +498,7 @@ 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 { @@ -506,6 +506,6 @@ mod tests { max_length: None, } }) - ); + )); } }