Fix tests

This commit is contained in:
Antonio Scandurra 2022-06-06 09:29:42 +02:00
parent 22dd68fbfb
commit c22aedfe69

View file

@ -6336,7 +6336,7 @@ mod tests {
} }
} }
#[derive(Clone, Default, Deserialize)] #[derive(Clone, Default, Deserialize, PartialEq)]
pub struct Action(pub String); pub struct Action(pub String);
impl_actions!(test, [Action]); impl_actions!(test, [Action]);
@ -6459,7 +6459,7 @@ mod tests {
#[crate::test(self)] #[crate::test(self)]
fn test_dispatch_keystroke(cx: &mut MutableAppContext) { fn test_dispatch_keystroke(cx: &mut MutableAppContext) {
#[derive(Clone, Deserialize)] #[derive(Clone, Deserialize, PartialEq)]
pub struct Action(String); pub struct Action(String);
impl_actions!(test, [Action]); impl_actions!(test, [Action]);