Skip to content

Commit

Permalink
link to PR from tests
Browse files Browse the repository at this point in the history
Co-authored-by: James Liu <contact@jamessliu.com>
  • Loading branch information
BoxyUwU and james7132 committed Feb 24, 2023
1 parent 2365693 commit 8207654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_ecs/src/world/entity_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@ mod tests {
assert!(entity.location() != old_location);
}

// regression test for https://github.com/bevyengine/bevy/pull/7805
#[test]
fn removing_sparse_updates_archetype_row() {
#[derive(Component, PartialEq, Debug)]
Expand All @@ -944,6 +945,7 @@ mod tests {
assert_eq!(world.entity(e2).get::<Dense>().unwrap(), &Dense(1));
}

// regression test for https://github.com/bevyengine/bevy/pull/7805
#[test]
fn removing_dense_updates_table_row() {
#[derive(Component, PartialEq, Debug)]
Expand Down

0 comments on commit 8207654

Please sign in to comment.