From 606a3982f34d777f121fcc4aa964141199676c20 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Thu, 9 Feb 2023 03:02:46 +0100 Subject: LibCore: Move Stream-based file into the `Core` namespace --- Tests/LibMarkdown/TestCommonmark.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Tests/LibMarkdown') diff --git a/Tests/LibMarkdown/TestCommonmark.cpp b/Tests/LibMarkdown/TestCommonmark.cpp index a9ef515404..338bc56c11 100644 --- a/Tests/LibMarkdown/TestCommonmark.cpp +++ b/Tests/LibMarkdown/TestCommonmark.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -15,9 +16,9 @@ TEST_SETUP { - auto file_or_error = Core::Stream::File::open("/home/anon/Tests/commonmark.spec.json"sv, Core::Stream::OpenMode::Read); + auto file_or_error = Core::File::open("/home/anon/Tests/commonmark.spec.json"sv, Core::File::OpenMode::Read); if (file_or_error.is_error()) - file_or_error = Core::Stream::File::open("./commonmark.spec.json"sv, Core::Stream::OpenMode::Read); + file_or_error = Core::File::open("./commonmark.spec.json"sv, Core::File::OpenMode::Read); VERIFY(!file_or_error.is_error()); auto file = file_or_error.release_value(); auto file_size = MUST(file->size()); -- cgit v1.2.3