File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
crates/bevy_ecs/src/schedule Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1366,6 +1366,12 @@ mod tests {
13661366
13671367 #[ test]
13681368 fn combinators_with_maybe_failing_condition ( ) {
1369+ #![ allow(
1370+ clippy:: nonminimal_bool,
1371+ clippy:: overly_complex_bool_expr,
1372+ reason = "Trailing `|| false` and `&& true` are used in this test to visually remain consistent with the combinators"
1373+ ) ]
1374+
13691375 use crate :: system:: RunSystemOnce ;
13701376 use alloc:: sync:: Arc ;
13711377 use std:: sync:: Mutex ;
@@ -1463,7 +1469,7 @@ mod tests {
14631469 let out = RunSystemOnce :: run_system_once ( & mut * world, system) . unwrap_or ( false ) ;
14641470
14651471 let ( expected_counter, expected) = logic_call_result ( equivalent_to) ;
1466- let caller = std :: panic:: Location :: caller ( ) ;
1472+ let caller = core :: panic:: Location :: caller ( ) ;
14671473 let counter = * world. resource :: < Counter > ( ) . 0 . lock ( ) . unwrap ( ) ;
14681474
14691475 assert_eq ! (
You can’t perform that action at this time.
0 commit comments