Skip to content

Commit 32cc7d5

Browse files
committed
fix ci complaint
1 parent 55c0868 commit 32cc7d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/bevy_ecs/src/system/system_registry.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,6 @@ mod tests {
463463
#[derive(Resource, Default, PartialEq, Debug)]
464464
struct Counter(u8);
465465

466-
#[derive(Event)]
467-
struct MyEvent {
468-
cancelled: bool,
469-
}
470-
471466
#[test]
472467
fn change_detection() {
473468
#[derive(Resource, Default)]
@@ -672,6 +667,11 @@ mod tests {
672667

673668
#[test]
674669
fn system_with_input_mut() {
670+
#[derive(Event)]
671+
struct MyEvent {
672+
cancelled: bool,
673+
}
674+
675675
fn post(InMut(event): InMut<MyEvent>, counter: ResMut<Counter>) {
676676
if counter.0 > 0 {
677677
event.cancelled = true;

0 commit comments

Comments
 (0)