summaryrefslogtreecommitdiff
path: root/Tests/LibCpp/test-cpp-preprocessor.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-03-01 15:27:35 +0100
committerLinus Groh <mail@linusgroh.de>2023-03-13 15:16:20 +0000
commita3f73e7d85584412e2774870bc6538faaaf71001 (patch)
tree0e16f061a39e5006ff311bcd93011fdd0a3816ba /Tests/LibCpp/test-cpp-preprocessor.cpp
parentd5871f5717579fab3c093537c44e3cd467560cdd (diff)
downloadserenity-a3f73e7d85584412e2774870bc6538faaaf71001.zip
AK: Rename Stream::read_entire_buffer to Stream::read_until_filled
No functional changes.
Diffstat (limited to 'Tests/LibCpp/test-cpp-preprocessor.cpp')
-rw-r--r--Tests/LibCpp/test-cpp-preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibCpp/test-cpp-preprocessor.cpp b/Tests/LibCpp/test-cpp-preprocessor.cpp
index 39a50d3f59..89685aff74 100644
--- a/Tests/LibCpp/test-cpp-preprocessor.cpp
+++ b/Tests/LibCpp/test-cpp-preprocessor.cpp
@@ -17,7 +17,7 @@ static DeprecatedString read_all(DeprecatedString const& path)
auto file = MUST(Core::File::open(path, Core::File::OpenMode::Read));
auto file_size = MUST(file->size());
auto content = MUST(ByteBuffer::create_uninitialized(file_size));
- MUST(file->read_entire_buffer(content.bytes()));
+ MUST(file->read_until_filled(content.bytes()));
return DeprecatedString { content.bytes() };
}