summaryrefslogtreecommitdiff
path: root/Tests/LibMarkdown
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibMarkdown')
-rw-r--r--Tests/LibMarkdown/TestCommonmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibMarkdown/TestCommonmark.cpp b/Tests/LibMarkdown/TestCommonmark.cpp
index 16571b832e..a3a5e720cd 100644
--- a/Tests/LibMarkdown/TestCommonmark.cpp
+++ b/Tests/LibMarkdown/TestCommonmark.cpp
@@ -22,7 +22,7 @@ TEST_SETUP
auto file = file_or_error.release_value();
auto file_size = MUST(file->size());
auto content = MUST(ByteBuffer::create_uninitialized(file_size));
- if (!file->read_or_error(content.bytes()))
+ if (!file->read_entire_buffer(content.bytes()))
VERIFY_NOT_REACHED();
DeprecatedString test_data { content.bytes() };