Skip to content

Commit

Permalink
Fix testing with no-default-features
Browse files Browse the repository at this point in the history
  • Loading branch information
Shute052 committed Feb 5, 2024
1 parent a0dc3bf commit 23fbb31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/input_mocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ impl MockUIInteraction for App {

#[cfg(test)]
mod test {
use crate::input_mocking::{MockInput, MockUIInteraction, QueryInput};
use crate::input_mocking::{MockInput, QueryInput};
use bevy::{
input::{
gamepad::{GamepadConnection, GamepadConnectionEvent, GamepadEvent, GamepadInfo},
Expand Down Expand Up @@ -612,6 +612,7 @@ mod test {
#[test]
#[cfg(feature = "ui")]
fn ui_inputs() {
use crate::input_mocking::MockUIInteraction;
use bevy::ecs::prelude::*;
use bevy::ui::Interaction;

Expand Down

0 comments on commit 23fbb31

Please sign in to comment.