mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibCompress: Rename Compress::Zlib
to Compress::ZlibDecompressor
Because that's what it is, even if it mainly relies on `DeflateDecompressor` to do the heavy lifting.
This commit is contained in:
parent
edd004fe90
commit
23a9d62f39
Notes:
sideshowbarker
2024-07-17 17:49:11 +09:00
Author: https://github.com/timschumi
Commit: 23a9d62f39
Pull-request: https://github.com/SerenityOS/serenity/pull/16676
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
6 changed files with 14 additions and 14 deletions
|
@ -20,7 +20,7 @@ TEST_CASE(zlib_decompress_simple)
|
|||
|
||||
const u8 uncompressed[] = "This is a simple text file :)";
|
||||
|
||||
auto const decompressed = Compress::Zlib::decompress_all(compressed);
|
||||
auto const decompressed = Compress::ZlibDecompressor::decompress_all(compressed);
|
||||
EXPECT(decompressed.value().bytes() == (ReadonlyBytes { uncompressed, sizeof(uncompressed) - 1 }));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue