From 9a50fcae96792af35b5bc80fbf1d72b10e292ea1 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Thu, 19 Sep 2024 14:28:52 +0200 Subject: [PATCH] Fixed tests because of added symbols --- text-compression/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text-compression/src/lib.rs b/text-compression/src/lib.rs index 337c6a6..338e234 100644 --- a/text-compression/src/lib.rs +++ b/text-compression/src/lib.rs @@ -598,7 +598,7 @@ mod tests { let mut reader = std::io::BufReader::new(&data[..]); let compressed_text = load_compressed_text(&mut reader).unwrap(); - for (i, c) in "CDEFGHIKLM".chars().enumerate() { + for (i, c) in "BCDEFGHIKL".chars().enumerate() { assert_eq!(compressed_text.get(i), c as u8); } }