summaryrefslogtreecommitdiff
path: root/Tests/LibCompress/TestBrotli.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibCompress/TestBrotli.cpp')
-rw-r--r--Tests/LibCompress/TestBrotli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibCompress/TestBrotli.cpp b/Tests/LibCompress/TestBrotli.cpp
index d5b99bd4f1..eed05c59ea 100644
--- a/Tests/LibCompress/TestBrotli.cpp
+++ b/Tests/LibCompress/TestBrotli.cpp
@@ -104,7 +104,7 @@ TEST_CASE(brotli_decompress_zero_one_bin)
size_t bytes_read = 0;
while (true) {
- size_t nread = MUST(brotli_stream.read(buffer)).size();
+ size_t nread = MUST(brotli_stream.read_some(buffer)).size();
if (nread == 0)
break;