From bbfa601bdaae3ff2bfee4f106b735f98337bd387 Mon Sep 17 00:00:00 2001 From: Sam Sung <51686767+samwhosung@users.noreply.github.com> Date: Sat, 26 Sep 2026 09:29:17 +0700 Subject: [PATCH] The pet sheet test says where a pet's defense comes from (#396) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One test message corrected. A pet's combat-stats snapshot carries no defense pair, because `UnitDefense("pet")` computes the pet's level × 5 itself (`CGUnit_C` `0x613680`). The message added in #391 said benilla had no pet defense, which is wrong. Verified: the `ui_pet_doll` tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 5.5 (1M context) --- crates/benilla-app/src/ui_pet_doll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/benilla-app/src/ui_pet_doll.rs b/crates/benilla-app/src/ui_pet_doll.rs index e76e62ac..64a9fa85 100644 --- a/crates/benilla-app/src/ui_pet_doll.rs +++ b/crates/benilla-app/src/ui_pet_doll.rs @@ -132,7 +132,7 @@ mod tests { assert_eq!( s.defense_skill, (0, 0), - "no pet defense here; the reference answers UnitLevel × 5 and 0 (`0x613680`)" + "a pet's snapshot has no defense pair; `UnitDefense(\"pet\")` answers level × 5 itself" ); }