diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-09 03:02:46 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | 606a3982f34d777f121fcc4aa964141199676c20 (patch) | |
tree | 836fef41d11f1b77f4dac7d699e5c9f720ee4ff1 /Tests/LibWeb | |
parent | a96339b72b3b417ffaa4fbb4e7575149f749acaa (diff) | |
download | serenity-606a3982f34d777f121fcc4aa964141199676c20.zip |
LibCore: Move Stream-based file into the `Core` namespace
Diffstat (limited to 'Tests/LibWeb')
-rw-r--r-- | Tests/LibWeb/TestHTMLTokenizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/LibWeb/TestHTMLTokenizer.cpp b/Tests/LibWeb/TestHTMLTokenizer.cpp index 977fd926bf..1be1b0c6f8 100644 --- a/Tests/LibWeb/TestHTMLTokenizer.cpp +++ b/Tests/LibWeb/TestHTMLTokenizer.cpp @@ -6,6 +6,7 @@ #include <LibTest/TestCase.h> +#include <LibCore/File.h> #include <LibCore/Stream.h> #include <LibWeb/HTML/Parser/HTMLTokenizer.h> @@ -208,7 +209,7 @@ TEST_CASE(regression) StringView path = "tokenizer-test.html"sv; #endif - auto file = MUST(Core::Stream::File::open(path, Core::Stream::OpenMode::Read)); + 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(content.bytes())); |