Skip to content

Commit e3c1fa2

Browse files
committed
Fix tests for css-validation
1 parent 9808df1 commit e3c1fa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/perf-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# * startup speed (== to parse and load all rules)
44
# * network filter matching (== the avg time to check a request)
55
# * first request matching delay (== time to check the first request)
6-
name: CI
6+
name: Performance CI
77

88
on:
99
push:

src/blocker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ mod legacy_rule_parsing_tests {
21892189
// This engine also handles 3 rules that old one does not
21902190
const EASY_LIST: ListCounts = ListCounts {
21912191
filters: 35597, // 36259 - 662 exceptions
2192-
cosmetic_filters: 23080,
2192+
cosmetic_filters: if cfg!(feature = "css-validation") { 23072 } else { 23080 },
21932193
exceptions: 662,
21942194
duplicates: 0
21952195
};

0 commit comments

Comments
 (0)