diff options
Diffstat (limited to 'src/item.rs')
| -rw-r--r-- | src/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.rs b/src/item.rs index 4fdb4b8..2e14606 100644 --- a/src/item.rs +++ b/src/item.rs @@ -50,7 +50,7 @@ mod tests { use serde_json::json; #[test] - fn equip_from_json() { + fn equip_deserialise() { assert_eq!( ItemAction::deserialize(&json!({"equip": {"slot": "hand", "stats": {"strength": 10}}})).unwrap(), ItemAction::Equip(Equippable {slot: Slot::Hand, stats: hashmap!(Stat::Strength => 10), sprite: Option::None}) |
