File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ fn show() {
74
74
}
75
75
76
76
#[ test]
77
- #[ allow( clippy:: cyclomatic_complexity ) ]
77
+ #[ allow( clippy:: cognitive_complexity ) ]
78
78
fn update_crate ( ) {
79
79
let ( _b, app, middle) = app ( ) ;
80
80
let mut req = req ( Method :: Get , "/api/v1/categories/foo" ) ;
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ fn index() {
95
95
}
96
96
97
97
#[ test]
98
- #[ allow( clippy:: cyclomatic_complexity ) ]
98
+ #[ allow( clippy:: cognitive_complexity ) ]
99
99
fn index_queries ( ) {
100
100
let ( app, anon, user) = TestApp :: init ( ) . with_user ( ) ;
101
101
let user = user. as_model ( ) ;
@@ -316,7 +316,7 @@ fn index_sorting() {
316
316
}
317
317
318
318
#[ test]
319
- #[ allow( clippy:: cyclomatic_complexity ) ]
319
+ #[ allow( clippy:: cognitive_complexity ) ]
320
320
fn exact_match_on_queries_with_sort ( ) {
321
321
let ( app, anon, user) = TestApp :: init ( ) . with_user ( ) ;
322
322
let user = user. as_model ( ) ;
@@ -1459,7 +1459,7 @@ fn yank_not_owner() {
1459
1459
}
1460
1460
1461
1461
#[ test]
1462
- #[ allow( clippy:: cyclomatic_complexity ) ]
1462
+ #[ allow( clippy:: cognitive_complexity ) ]
1463
1463
fn yank_max_version ( ) {
1464
1464
let ( _, anon, _, token) = TestApp :: with_proxy ( ) . with_token ( ) ;
1465
1465
You can’t perform that action at this time.
0 commit comments