diff options
Diffstat (limited to 'Tests/LibMarkdown/TestCommonmark.cpp')
-rw-r--r-- | Tests/LibMarkdown/TestCommonmark.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/LibMarkdown/TestCommonmark.cpp b/Tests/LibMarkdown/TestCommonmark.cpp index a3a5e720cd..5d85c61023 100644 --- a/Tests/LibMarkdown/TestCommonmark.cpp +++ b/Tests/LibMarkdown/TestCommonmark.cpp @@ -22,8 +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_entire_buffer(content.bytes())) - VERIFY_NOT_REACHED(); + MUST(file->read_entire_buffer(content.bytes())); DeprecatedString test_data { content.bytes() }; auto tests = JsonParser(test_data).parse().value().as_array(); |