Skip to content

Commit a967c75

Browse files
authored
Enable EntityRef tests that now pass. (#16263)
# Objective Re-enable some tests in `entity_ref.rs` that are marked as `#[ignore]`, but that pass after #14561. ## Solution Remove `#[ignore]` from those tests.
1 parent 619c5e3 commit a967c75

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/bevy_ecs/src/world/entity_ref.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4036,7 +4036,6 @@ mod tests {
40364036
}
40374037

40384038
#[test]
4039-
#[ignore] // This should pass, but it currently fails due to limitations in our access model.
40404039
fn ref_compatible_with_resource_mut() {
40414040
fn borrow_system(_: Query<EntityRef>, _: ResMut<R>) {}
40424041

@@ -4067,15 +4066,13 @@ mod tests {
40674066
}
40684067

40694068
#[test]
4070-
#[ignore] // This should pass, but it currently fails due to limitations in our access model.
40714069
fn mut_compatible_with_resource() {
40724070
fn borrow_mut_system(_: Res<R>, _: Query<EntityMut>) {}
40734071

40744072
assert_is_system(borrow_mut_system);
40754073
}
40764074

40774075
#[test]
4078-
#[ignore] // This should pass, but it currently fails due to limitations in our access model.
40794076
fn mut_compatible_with_resource_mut() {
40804077
fn borrow_mut_system(_: ResMut<R>, _: Query<EntityMut>) {}
40814078

0 commit comments

Comments
 (0)