mirror of
https://github.com/instructkr/claw-code.git
synced 2026-11-19 00:00:00 +08:00
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:
1 parent
4a920fb281
commit
c4ce758d5e
2 files changed
+2
-2
No files matched your search
@@ -82,7 +82,7 @@ async fn send_message_posts_json_and_parses_response() {
|
|||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
request.headers.get("user-agent").map(String::as_str),
|
request.headers.get("user-agent").map(String::as_str),
|
||||||
Some("claude-code/0.1.4")
|
Some("claude-code/0.1.5")
|
||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
request.headers.get("anthropic-beta").map(String::as_str),
|
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 [
|
for (command, expected_kind, expected_status) in [
|
||||||
("/version", "version", "ok"),
|
("/version", "version", "ok"),
|
||||||
("/sandbox", "sandbox", "warn"),
|
("/sandbox", "sandbox", "ok"),
|
||||||
("/diff", "diff", "ok"),
|
("/diff", "diff", "ok"),
|
||||||
("/status", "status", "ok"),
|
("/status", "status", "ok"),
|
||||||
] {
|
] {
|
||||||
|
|||||||
Reference in new issue
Block a user