Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecificProtagonist committed Dec 12, 2024
1 parent 2baa5c7 commit 6245c93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_ecs/src/observer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,7 @@ mod tests {
}

#[test]
#[cfg(feature = "track_change_detection")]
#[track_caller]
fn observer_caller_location_event() {
#[derive(Event)]
Expand All @@ -1391,6 +1392,7 @@ mod tests {
}

#[test]
#[cfg(feature = "track_change_detection")]
#[track_caller]
fn observer_caller_location_command_archetype_move() {
#[derive(Component)]
Expand Down
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/world/entity_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use crate::{
};
use bevy_ptr::{OwningPtr, Ptr};
use bevy_utils::{HashMap, HashSet};
#[cfg(feature = "track_change_detection")]
use core::panic::Location;
use core::{any::TypeId, marker::PhantomData, mem::MaybeUninit};
use thiserror::Error;
Expand Down

0 comments on commit 6245c93

Please sign in to comment.