From dab6f0d96138979a7d637eb39b960da4e5778bc5 Mon Sep 17 00:00:00 2001 From: Jorge Hermo Date: Sun, 4 Aug 2024 20:42:11 +0200 Subject: [PATCH] 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, } }) - ); + )); } }