File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 30
30
- name : Cargo build 'adblock' package
31
31
run : cargo build --all-features --all-targets
32
32
33
+ - name : Cargo build 'adblock' package (default features)
34
+ run : cargo build --all-targets
35
+
33
36
- name : Cargo build 'adblock' package (no default features)
34
37
run : cargo build --no-default-features --all-targets
35
38
61
64
- name : Cargo test 'adblock' package
62
65
run : cargo test --all-features --tests --no-fail-fast
63
66
67
+ - name : Cargo test 'adblock' package (default features)
68
+ run : cargo test --tests --no-fail-fast
69
+
64
70
- name : Cargo test 'adblock' package (no default features)
65
71
run : cargo test --no-default-features --features embedded-domain-resolver,full-regex-handling --tests --no-fail-fast
66
72
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ impl fmt::Display for CheckResult {
21
21
if let Some ( ref raw_line) = self . raw_line {
22
22
write ! ( f, "{}" , raw_line)
23
23
} else {
24
- write ! ( f, "{}" , self . filter_mask )
24
+ write ! ( f, "NetworkFilter" )
25
25
}
26
26
}
27
27
}
Original file line number Diff line number Diff line change @@ -1463,10 +1463,7 @@ mod placeholder_string_tests {
1463
1463
& crate :: request:: Request :: new ( "https://example.com" , "https://example.com" , "document" )
1464
1464
. unwrap ( ) ,
1465
1465
) ;
1466
- assert_eq ! (
1467
- block. filter,
1468
- Some ( "100000001100110001111111111111" . to_string( ) )
1469
- ) ;
1466
+ assert_eq ! ( block. filter, Some ( "NetworkFilter" . to_string( ) ) ) ;
1470
1467
}
1471
1468
}
1472
1469
You can’t perform that action at this time.
0 commit comments