fix(@projects/@magic-civilization): 🐛 remove move not-yet-implemented test stub

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Natalie 2026-05-10 20:44:06 -07:00
parent 39f1e3cac1
commit 815a492fbd

View file

@ -549,28 +549,10 @@ mod tests {
assert!(state.pending_pvp_attacks.is_empty());
}
#[test]
fn move_returns_not_yet_implemented_with_tracked_breadcrumb() {
let mut state = empty_state_with_one_unit(1);
let err = apply_action(
&mut state,
0,
&PlayerAction::Move {
unit_id: "1".into(),
to: [2, 2],
},
)
.unwrap_err();
match err {
ActionError::NotYetImplemented { message } => {
assert!(
message.contains("Move") && message.contains("p2-67"),
"breadcrumb missing: {message}"
);
}
other => panic!("expected NotYetImplemented, got {other:?}"),
}
}
// Move dispatch landed in Wave 2 (trust-the-caller v1) — see
// `move_to_empty_hex_updates_unit_position_and_emits_unit_moved` and the
// related tests for the new behaviour. The old "returns NotYetImplemented"
// assertion was removed when the body switched from stub to live.
#[test]
fn city_op_returns_not_yet_implemented() {