aboutsummaryrefslogtreecommitdiff
path: root/stockton-types/tests/world.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-types/tests/world.rs')
-rw-r--r--stockton-types/tests/world.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-types/tests/world.rs b/stockton-types/tests/world.rs
index 83bb178..380918b 100644
--- a/stockton-types/tests/world.rs
+++ b/stockton-types/tests/world.rs
@@ -59,7 +59,7 @@ fn world_creation() {
let world = World::new(file, |ent: &BSPEntity| {
called_times += 1;
- (Box::new(DummyEntity), ent.attributes.get("name").unwrap().clone().into())
+ Some((Box::new(DummyEntity), ent.attributes.get("name").unwrap().clone().into()))
}).unwrap();