Everywhere: Remove Serenity specific code from tests

We no longer run our tests on Serenity.
This commit is contained in:
Tim Ledbetter 2024-07-04 22:39:15 +01:00 committed by Andreas Kling
parent 66662496e6
commit 23eba28c22
Notes: sideshowbarker 2024-07-17 17:49:11 +09:00
11 changed files with 11 additions and 66 deletions

View file

@ -223,12 +223,7 @@ TEST_CASE(doctype)
// If that changes, or something is added to the test HTML, the hash needs to be adjusted.
TEST_CASE(regression)
{
// This makes sure that the tests will run both on target and in Lagom.
#ifdef AK_OS_SERENITY
StringView path = "/usr/Tests/LibWeb/tokenizer-test.html"sv;
#else
StringView path = "tokenizer-test.html"sv;
#endif
auto file = MUST(Core::File::open(path, Core::File::OpenMode::Read));
auto file_size = MUST(file->size());