@@ -251,7 +251,7 @@ mod tests {
251
251
252
252
// world: 1, system last ran: 0, component changed: 1
253
253
// The spawn will be detected since it happened after the system "last ran".
254
- assert_eq ! ( change_detected_system. run( ( ) , & mut world) , true ) ;
254
+ assert ! ( change_detected_system. run( ( ) , & mut world) ) ;
255
255
256
256
// world: 1 + MAX_CHANGE_AGE
257
257
let change_tick = world. change_tick . get_mut ( ) ;
@@ -261,7 +261,7 @@ mod tests {
261
261
// Since we clamp things to `MAX_CHANGE_AGE` for determinism,
262
262
// `ComponentTicks::is_changed` will now see `MAX_CHANGE_AGE > MAX_CHANGE_AGE`
263
263
// and return `false`.
264
- assert_eq ! ( change_expired_system. run( ( ) , & mut world) , false ) ;
264
+ assert ! ( ! change_expired_system. run( ( ) , & mut world) ) ;
265
265
}
266
266
267
267
#[ test]
@@ -283,7 +283,7 @@ mod tests {
283
283
284
284
// Since the world is always ahead, as long as changes can't get older than `u32::MAX` (which we ensure),
285
285
// the wrapping difference will always be positive, so wraparound doesn't matter.
286
- assert_eq ! ( change_detected_system. run( ( ) , & mut world) , true ) ;
286
+ assert ! ( change_detected_system. run( ( ) , & mut world) ) ;
287
287
}
288
288
289
289
#[ test]
0 commit comments