chore: fix failing tests

This commit is contained in:
Michel de Graaf
2025-06-29 17:42:49 +02:00
parent 257920562d
commit 430bdebb23
2 changed files with 4 additions and 11 deletions
+1 -2
View File
@@ -387,7 +387,6 @@ pub fn deflate(data: Vec<u8>) -> Result<Vec<u8>, String> {
let mut output: Vec<u8> = vec![];
let header_data = reader.read_bytes(16).unwrap();
let header = extract_header(&header_data).unwrap();
dbg!(header);
// Main loop to process all blocks in the stream.
loop {
@@ -1175,5 +1174,5 @@ fn test_deflate() {
]
.to_vec();
let deflated = deflate(data).unwrap();
assert_eq!(res, expected)
assert_eq!(deflated, expected)
}