summaryrefslogtreecommitdiff
path: root/Tests/LibCompress/TestGzip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibCompress/TestGzip.cpp')
-rw-r--r--Tests/LibCompress/TestGzip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibCompress/TestGzip.cpp b/Tests/LibCompress/TestGzip.cpp
index 2f90725aea..39082ca357 100644
--- a/Tests/LibCompress/TestGzip.cpp
+++ b/Tests/LibCompress/TestGzip.cpp
@@ -88,7 +88,7 @@ TEST_CASE(gzip_decompress_repeat_around_buffer)
TEST_CASE(gzip_round_trip)
{
auto original = ByteBuffer::create_uninitialized(1024).release_value();
- fill_with_random(original.data(), 1024);
+ fill_with_random(original);
auto compressed = Compress::GzipCompressor::compress_all(original);
EXPECT(!compressed.is_error());
auto uncompressed = Compress::GzipDecompressor::decompress_all(compressed.value());