wpt: allow .htm tests cases

This commit is contained in:
Pierre Tachoire
2024-02-12 12:12:54 +01:00
parent e4b4719208
commit fe31d81e29

View File

@@ -149,7 +149,7 @@ pub fn find(allocator: std.mem.Allocator, comptime path: []const u8, list: *std.
if (entry.kind != .file) {
continue;
}
if (!std.mem.endsWith(u8, entry.basename, ".html")) {
if (!std.mem.endsWith(u8, entry.basename, ".html") and !std.mem.endsWith(u8, entry.basename, ".htm")) {
continue;
}