From 3ee4ab8e88b67fe8fc30254c5bb20ddd4adfe2c8 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 9 Oct 2026 23:30:12 +0200 Subject: [PATCH] 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 --- crates/ghostlight-dungeon/src/play.rs | 2 +- crates/ghostlight/src/sdk_inference.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ghostlight-dungeon/src/play.rs b/crates/ghostlight-dungeon/src/play.rs index b35a6b3..8abba56 100644 --- a/crates/ghostlight-dungeon/src/play.rs +++ b/crates/ghostlight-dungeon/src/play.rs @@ -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, diff --git a/crates/ghostlight/src/sdk_inference.rs b/crates/ghostlight/src/sdk_inference.rs index da7894f..a751c7e 100644 --- a/crates/ghostlight/src/sdk_inference.rs +++ b/crates/ghostlight/src/sdk_inference.rs @@ -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