Remove tests from example style guide (#3582)

# Objective

- Consensus has emerged that examples shouldn't have tests.

## Solution

- Discourage tests in examples.
This commit is contained in:
Alice Cecile 2022-01-10 00:00:19 +00:00
parent 130953c717
commit 6bc5c60986

View file

@ -11,8 +11,8 @@ For more advice on writing examples, see the [relevant section](../../CONTRIBUTI
1. Imports
2. A `fn main()` block
3. Example logic
4. \[Optional\] Tests
5. Try to structure app / plugin construction in the same fashion as the actual code.
6. Examples should typically not have tests, as they are not directly reusable by the Bevy user.
## Stylistic preferences