Skip to content

Commit

Permalink
headless-browser: Treat files ending in '.htm' as valid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tcl3 authored and trflynn89 committed Nov 21, 2024
1 parent 5d71da1 commit 2aee5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Headless/Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static ErrorOr<void> collect_dump_tests(Vector<Test>& tests, StringView path, St
continue;
}

if (!name.ends_with(".html"sv) && !name.ends_with(".svg"sv) && !name.ends_with(".xhtml"sv) && !name.ends_with(".xht"sv))
if (!name.ends_with(".htm"sv) && !name.ends_with(".html"sv) && !name.ends_with(".svg"sv) && !name.ends_with(".xhtml"sv) && !name.ends_with(".xht"sv))
continue;

auto expectation_path = ByteString::formatted("{}/expected/{}/{}.txt", path, trail, LexicalPath::title(name));
Expand Down

0 comments on commit 2aee5d7

Please sign in to comment.