bevy/crates/bevy_ecs_compile_fail_tests/tests
Rob Parrett 543465b721 Fix tests breaking when new WorldQuery impls are added (#6317)
# Objective

I recently wanted to look at the possibility of adding `Mutated` and `Unchanged` query filters and was confronted with some seemingly unrelated broken tests.

These tests were written in such a way that changing the number of WorldQuery impls in the project would break them.

Fortunately, a [very recent release of trybuild](https://github.com/dtolnay/trybuild/releases/tag/1.0.70) has made this unnecessary. 

## Solution

Replace hardcoded numbers in test output with `$N` placeholders.
2022-10-21 11:15:06 +00:00
..
ui Fix tests breaking when new WorldQuery impls are added (#6317) 2022-10-21 11:15:06 +00:00
ui.rs Assert compiler errors for compile_fail tests (#3067) 2021-11-13 22:43:19 +00:00