bevy/tools/compile_fail_utils/tests/example.rs

11 lines
429 B
Rust
Raw Normal View History

fn main() -> bevy_compile_test_utils::ui_test::Result<()> {
// Run all tests in the tests/example_tests folder.
// If we had more tests we could either call this function
// on everysingle one or use test_multiple and past it an array
// of paths.
//
// Don't forget that when running tests the working directory
// is set to the crate root.
bevy_compile_test_utils::test("tests/example_tests")
}