withheld-arms s1: a refused lowering step discards the attempt's packets (killed by deleting discard_packets)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
09cf7cc414
commit
92cf30bec0
1 changed files with 4 additions and 0 deletions
|
|
@ -5256,6 +5256,10 @@ fn the_lowering_step_of_a_round_stops_on_a_withheld_prompt() {
|
|||
model.raw_lowering = Some(Err(PortError::Withheld));
|
||||
let r = round(&mut dao.run, &mut model, &Scorer::new(Bag));
|
||||
assert!(matches!(r, Err(RunError::Withheld)), "{:?}", r.map(|_| ()));
|
||||
assert!(
|
||||
!dao.root.join("round-1/packets.cc").exists(),
|
||||
"the refused attempt's packets are discarded"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Reference in a new issue