Skip to content

Commit

Permalink
fix bevy_input test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Jun 29, 2023
1 parent 05eed0b commit 3e4c560
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/bevy_input/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,13 @@ where

#[cfg(test)]
mod test {
use bevy_reflect::TypePath;
use bevy_reflect::{FromReflect, Reflect};

use crate::Input;

/// Used for testing the functionality of [`Input`].
#[derive(TypePath, Copy, Clone, Eq, PartialEq, Hash)]
#[derive(Copy, Clone, Eq, PartialEq, Hash, Reflect, FromReflect)]
#[reflect_value]
enum DummyInput {
Input1,
Input2,
Expand Down

0 comments on commit 3e4c560

Please sign in to comment.