summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-03-23 13:50:20 +0100
committerHampusM <hampus@hampusmat.com>2025-03-23 13:50:20 +0100
commit2425dc2cd535e537ecb0ea34604540ed36022c50 (patch)
tree987024b573654235886ed22935c78223956649c4
parent719f4052123dbcf74e35aa28cacd0caed152ca24 (diff)
test(ecs): use call_once_force in query test setup function
-rw-r--r--ecs/tests/query.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/tests/query.rs b/ecs/tests/query.rs
index fa36689..0f02bd3 100644
--- a/ecs/tests/query.rs
+++ b/ecs/tests/query.rs
@@ -35,7 +35,7 @@ struct G;
fn setup()
{
- SETUP.call_once(|| {
+ SETUP.call_once_force(|_| {
assert_eq!(A::id().id(), 1);
assert_eq!(B::id().id(), 2);
assert_eq!(C::id().id(), 3);