mind-persona tests: pin the doctrine bound at 96 KiB (kills the only surviving mutant)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
773331a75e
commit
1421b5fe0a
1 changed files with 1 additions and 0 deletions
|
|
@ -1040,6 +1040,7 @@ fn a_missing_doctrine_file_fails_the_turn_before_the_connector_is_called() {
|
|||
|
||||
#[test]
|
||||
fn doctrine_over_the_bound_is_refused_and_exactly_the_bound_is_not() {
|
||||
assert_eq!(DOCTRINE_MAX_BYTES, 98_304, "96 KiB");
|
||||
let rig = Rig::new(vec![operator_says(1, "a")], &[says(&[])]);
|
||||
let big = write_doctrine(&rig, "big.md", &"x".repeat(DOCTRINE_MAX_BYTES + 1));
|
||||
let Outcome::Served { failure, .. } = rig.go_with(&Config { doctrine: vec![big], ..config() }) else { panic!("served") };
|
||||
|
|
|
|||
Loading…
Reference in a new issue