We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0475ca commit 9fb692bCopy full SHA for 9fb692b
tests/how_to_test_ui.rs
@@ -65,7 +65,7 @@ fn test_button_translation() {
65
let button = *query.iter(&app.world).collect::<Vec<_>>().first().unwrap();
66
67
// The button's translation got updated because the UI system had a window to place it in.
68
- // If we hadn't added a window, the button's translation would at this point be all zero's.
+ // If we hadn't added a window, the button's translation would at this point be all zeros.
69
let button_transform = app.world.entity(button).get::<Transform>().unwrap();
70
assert_eq!(
71
button_transform.translation.x.floor() as u32,
0 commit comments