From 7dbd87839801b80fb1ce1e1241a27b3d7a073174 Mon Sep 17 00:00:00 2001 From: funman300 Date: Wed, 12 Aug 2026 04:01:37 +0000 Subject: [PATCH] test: update mutation-battery anchors after rustfmt reflow Formatting reflowed two mutation target lines onto multiple lines; update the battery anchors (adapter #14 kit lookup, host #19 Content-Length push) to the new unique substrings. Both batteries kill all mutants again (adapter 14/14, host 20/20). --- openfut-adapter-fifa17/mutation-battery.sh | 2 +- openfut-utas-host/mutation-battery.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openfut-adapter-fifa17/mutation-battery.sh b/openfut-adapter-fifa17/mutation-battery.sh index dcee49a..97da256 100755 --- a/openfut-adapter-fifa17/mutation-battery.sh +++ b/openfut-adapter-fifa17/mutation-battery.sh @@ -98,7 +98,7 @@ kill_test 13 "extension schema version ignored on read" \ kill_test 14 "player state keyed by CardDefinitionId not OwnedItemId" \ two_owned_copies_of_one_definition_project_as_distinct_players "$FUT/squad_projection.rs" \ - 'ext.kit_numbers.get(&slot.owned_card_id)' 'ext.kit_numbers.get(&item.card_id)' + '.get(&slot.owned_card_id)' '.get(&item.card_id)' echo "== mutants killed: $PASS / $((PASS+FAIL)) ==" if [ "$FAIL" -ne 0 ]; then diff --git a/openfut-utas-host/mutation-battery.sh b/openfut-utas-host/mutation-battery.sh index 172b757..cf6813f 100755 --- a/openfut-utas-host/mutation-battery.sh +++ b/openfut-utas-host/mutation-battery.sh @@ -125,8 +125,8 @@ kill_test 18 "duplicate definition collapses owned instances (adapter shaper)" \ kill_test 19 "Content-Length left stale after overlay" \ coupled_read_after_write_list_and_usermassinfo_agree "$H" \ - 'resp.headers.push(("Content-Length".to_string(), body.len().to_string()));' \ - 'resp.headers.push(("Content-Length".to_string(), "0".to_string()));' + '("Content-Length".to_string(), body.len().to_string())' \ + '("Content-Length".to_string(), "0".to_string())' kill_test 20 "Python squad silently used after Rust projection failure" \ usermassinfo_never_serves_python_squad_on_integrity_failure "$H" \