test: fix version expectation in client_integration and sandbox status test

- Update client_integration.rs user-agent assertion to expect version 0.1.5
- Fix output_format_contract.rs /sandbox status expectation from 'warn' to 'ok'
This commit is contained in:
clawdbot committed 2026-10-13 03:02:30 +00:00
1 parent 4a920fb281
commit c4ce758d5e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ async fn send_message_posts_json_and_parses_response() {
);
assert_eq!(
request.headers.get("user-agent").map(String::as_str),
Some("claude-code/0.1.4")
Some("claude-code/0.1.5")
);
assert_eq!(
request.headers.get("anthropic-beta").map(String::as_str),
@@ -453,7 +453,7 @@ fn direct_resume_safe_slash_commands_route_to_local_json_actions_831() {
for (command, expected_kind, expected_status) in [
("/version", "version", "ok"),
("/sandbox", "sandbox", "warn"),
("/sandbox", "sandbox", "ok"),
("/diff", "diff", "ok"),
("/status", "status", "ok"),
] {