File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3030 - name : Cargo build 'adblock' package
3131 run : cargo build --all-features --all-targets
3232
33+ - name : Cargo build 'adblock' package (default features)
34+ run : cargo build --all-targets
35+
3336 - name : Cargo build 'adblock' package (no default features)
3437 run : cargo build --no-default-features --all-targets
3538
6164 - name : Cargo test 'adblock' package
6265 run : cargo test --all-features --tests --no-fail-fast
6366
67+ - name : Cargo test 'adblock' package (default features)
68+ run : cargo test --tests --no-fail-fast
69+
6470 - name : Cargo test 'adblock' package (no default features)
6571 run : cargo test --no-default-features --features embedded-domain-resolver,full-regex-handling --tests --no-fail-fast
6672
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ impl fmt::Display for CheckResult {
2121 if let Some ( ref raw_line) = self . raw_line {
2222 write ! ( f, "{}" , raw_line)
2323 } else {
24- write ! ( f, "{}" , self . filter_mask )
24+ write ! ( f, "NetworkFilter" )
2525 }
2626 }
2727}
Original file line number Diff line number Diff line change @@ -1463,10 +1463,7 @@ mod placeholder_string_tests {
14631463 & crate :: request:: Request :: new ( "https://example.com" , "https://example.com" , "document" )
14641464 . unwrap ( ) ,
14651465 ) ;
1466- assert_eq ! (
1467- block. filter,
1468- Some ( "100000001100110001111111111111" . to_string( ) )
1469- ) ;
1466+ assert_eq ! ( block. filter, Some ( "NetworkFilter" . to_string( ) ) ) ;
14701467 }
14711468}
14721469
You can’t perform that action at this time.
0 commit comments