cli test: the hold of spec B is its own run's question and not A's
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b1f0654f54
commit
fa5c65c6f4
1 changed files with 5 additions and 3 deletions
|
|
@ -898,10 +898,12 @@ fn blocked_names_the_questions_that_hold_a_spec_as_the_gate_reads_them() {
|
|||
"a question raised in the run holds its claim: {}",
|
||||
shown.out
|
||||
);
|
||||
assert!(!shown.out.contains(&other_question), "a question raised in another run does not hold A: {}", shown.out);
|
||||
let shown = held("B");
|
||||
assert!(
|
||||
held("B").out.starts_with("matched 0 "),
|
||||
"and not a spec the run never claimed: {}",
|
||||
held("B").out
|
||||
shown.out.starts_with(&format!("{other_question} InForce ")) && !shown.out.contains(&format!("{question} ")) && shown.out.contains("matched 1 "),
|
||||
"B is held by its own run's question only: {}",
|
||||
shown.out
|
||||
);
|
||||
|
||||
let PipelineDocument::Ruling(mut answer) = ruling(None) else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue