diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/loop.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/loop.rs b/tests/loop.rs index d6df43c..b7e56f9 100644 --- a/tests/loop.rs +++ b/tests/loop.rs | |||
| @@ -260,6 +260,8 @@ fn aborting_between_tool_calls_answers_every_call() { | |||
| 260 | .expect("an abort is not an error"); | 260 | .expect("an abort is not an error"); |
| 261 | 261 | ||
| 262 | assert!(report.aborted); | 262 | assert!(report.aborted); |
| 263 | assert_eq!(report.writes, 0, "aborted calls must not count as writes"); | ||
| 264 | assert_eq!(report.commands, 1); | ||
| 263 | 265 | ||
| 264 | // Every announced tool call must have exactly one result, or the provider | 266 | // Every announced tool call must have exactly one result, or the provider |
| 265 | // rejects the session forever and the transcript cannot be rewritten. | 267 | // rejects the session forever and the transcript cannot be rewritten. |
