Skip to content

Commit f94d708

Browse files
committed
fix a test
1 parent a4209ae commit f94d708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ecs/src/schedule/state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ mod test {
545545
},
546546
))
547547
.add_system_set(State::on_inactive_update_set(MyState::S4).with_system(
548-
(|mut r: ResMut<Vec<&'static str>>| r.push(inactive_s4)).label(inactive_s4),
548+
(|mut r: ResMut<Vec<&'static str>>| r.push("inactive S4")).label(inactive_s4),
549549
))
550550
.add_system_set(
551551
State::on_update_set(MyState::S5).with_system(
@@ -558,7 +558,7 @@ mod test {
558558
)
559559
.add_system_set(
560560
State::on_inactive_update_set(MyState::S5).with_system(
561-
(|mut r: ResMut<Vec<&'static str>>| r.push(inactive_s5))
561+
(|mut r: ResMut<Vec<&'static str>>| r.push("inactive S5"))
562562
.label(inactive_s5)
563563
.after(inactive_s4),
564564
),

0 commit comments

Comments
 (0)