play-faults fix: repair the malformed-reply test literal; the unroutable-model test no longer expects the model name in the fault

The previous commit (29efabe) does not build: a string literal in the new
malformed-reply test was mis-escaped.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-09 23:30:12 +02:00
commit 3ee4ab8e88
2 changed files with 2 additions and 2 deletions

View file

@ -8373,7 +8373,7 @@ pub(crate) mod tests {
/// the warn line, the card row and Debug nowhere.
#[tokio::test]
async fn a_malformed_local_reply_closes_the_turn_without_echoing_it() {
let endpoint = replying_with("\\"CANARY-reply-5d02c8\\"");
let endpoint = replying_with("\"CANARY-reply-5d02c8\"");
assert_faulted_turn_names_no_endpoint(
endpoint,
None,

View file

@ -1905,7 +1905,7 @@ mod tests {
.expect_err("an unroutable model inferred"),
] {
assert!(fault.integrity_was_violated(), "{fault:?}");
assert!(fault.to_string().contains(TEST_MODEL));
assert!(fault.to_string().contains("no configured inference backend"), "{fault:?}");
}
// An SDK-only deployment opens with no connector binding at all, so no