mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
b9102b8836
The only tests we had for `derive(WorldQuery)` checked that the derive doesnt panic/emit a `compiler_error!`. This PR adds tests that actually assert the returned values of a query using the derived `WorldQuery` impl. Also adds a compile fail test to check that we correctly error on read only world queries containing mutable world queries. |
||
---|---|---|
.. | ||
ui | ||
ui.rs |