File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 51
51
${{ runner.os }}-cargo-build-
52
52
53
53
- name : Run Tests
54
- run : cargo clippy --color always -- -Dwarnings -W clippy::pedantic
54
+ run : make clippy
Original file line number Diff line number Diff line change
1
+ clippy :
2
+ cargo clippy --all-targets --color always -- -D warnings -W clippy::all
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ fn test_create_patterns_filters_single_line() {
8
8
let filters = create_patterns_filters ( arg) ;
9
9
assert_eq ! ( filters. len( ) , 2 ) ;
10
10
assert_eq ! ( filters[ 0 ] . pattern, "*.rs" ) ;
11
- assert_eq ! (
12
- filters[ 0 ] . exclude, false ,
11
+ assert ! (
12
+ ! filters[ 0 ] . exclude,
13
13
"Expected 'exclude' to be false for pattern '*.rs'"
14
14
) ;
15
15
assert_eq ! ( filters[ 1 ] . pattern, "test/*.rs" ) ;
16
- assert_eq ! ( filters[ 1 ] . exclude, true ) ;
16
+ assert ! ( filters[ 1 ] . exclude) ;
17
17
}
18
18
19
19
#[ test]
You can’t perform that action at this time.
0 commit comments