mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 17:24:48 -05:00
headless-browser: Support running XHTML tests
This commit is contained in:
parent
4dd912e686
commit
fd32f17c56
Notes:
github-actions[bot]
2024-11-01 18:03:14 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/fd32f17c565 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2103 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
if (!name.ends_with(".html"sv) && !name.ends_with(".svg"sv) && !name.ends_with(".xhtml"sv))
|
||||
continue;
|
||||
|
||||
auto expectation_path = ByteString::formatted("{}/expected/{}/{}.txt", path, trail, LexicalPath::title(name));
|
||||
|
|
Loading…
Reference in a new issue