Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit test with system that panics (#7491)
# Objective Fixes #7434. This is my first time contributing to a Rust project, so please let me know if this wasn't the change intended by the linked issue. ## Solution Adds a test with a system that panics to `bevy_ecs`. I'm not sure if this is the intended panic message, but this is what the test currently results in: ``` thread 'system::tests::panic_inside_system' panicked at 'called `Option::unwrap()` on a `None` value', /Users/bjorn/workplace/bevy/crates/bevy_tasks/src/task_pool.rs:354:49 ```
- Loading branch information