From afee23cc49db4a27e54895aabf366f970b404c57 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Tue, 8 Oct 2024 18:03:38 +0100 Subject: [PATCH] refactor: assert --- src/parsers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsers/mod.rs b/src/parsers/mod.rs index ad7974f..91e9410 100644 --- a/src/parsers/mod.rs +++ b/src/parsers/mod.rs @@ -234,7 +234,7 @@ mod tests { .write_bytes(&mut output) .expect("Bencode to JSON conversion failed"); - assert_eq!(output, vec!(48)); + assert_eq!(output, vec!(b'0')); } #[test]