transform: improve despawn_recursive tests

This commit is contained in:
Moxinilian 2020-07-28 00:23:59 +02:00
parent 311f04f858
commit 3007201eac

View File

@ -100,7 +100,9 @@ mod tests {
command_buffer
.spawn_as_entity(parent_entity, (1u32, 2u64))
.with_children(|parent| {
parent.spawn((1u32, 2u64)).with_children(|parent| {
parent.spawn((1u32, 2u64));
});
parent.spawn((1u32, 2u64));
});