mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed tests
This commit is contained in:
parent
b558331b32
commit
1f2ede656e
@ -91,7 +91,7 @@ fn maps_basic_melee() {
|
|||||||
ability_info: empty_ability_info(),
|
ability_info: empty_ability_info(),
|
||||||
},
|
},
|
||||||
timer: Duration::default(),
|
timer: Duration::default(),
|
||||||
stage_section: states::utils::StageSection::Buildup,
|
stage_section: states::utils::StageSection::Action,
|
||||||
exhausted: false,
|
exhausted: false,
|
||||||
}),
|
}),
|
||||||
&PreviousEntityState {
|
&PreviousEntityState {
|
||||||
@ -104,7 +104,10 @@ fn maps_basic_melee() {
|
|||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
result,
|
result,
|
||||||
SfxEvent::Attack(CharacterAbilityType::BasicMelee, ToolKind::Axe)
|
SfxEvent::Attack(
|
||||||
|
CharacterAbilityType::BasicMelee(states::utils::StageSection::Action),
|
||||||
|
ToolKind::Axe
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user