aboutsummaryrefslogtreecommitdiff
path: root/src/integration/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration/tests.rs')
-rw-r--r--src/integration/tests.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/integration/tests.rs b/src/integration/tests.rs
index d3e8d6c2..fc332a84 100644
--- a/src/integration/tests.rs
+++ b/src/integration/tests.rs
@@ -2689,10 +2689,11 @@ fn bundled_integration_assets_report_session_refs() {
);
assert!(!CODEX_HOOK_ASSET.contains("\"state\": action"));
assert!(!CODEX_HOOK_ASSET.contains("pane.release_agent"));
- assert!(KIMI_HOOK_ASSET.contains("source = \"herdr:kimi\""));
+ assert!(KIMI_HOOK_ASSET.contains("source\": \"herdr:kimi"));
assert!(KIMI_HOOK_ASSET.contains("agent_session_id"));
- assert!(KIMI_HOOK_ASSET.contains("pane.report_agent_session"));
- assert!(KIMI_HOOK_ASSET.contains("\"state\": action"));
+ assert!(KIMI_HOOK_ASSET.contains("method = \"pane.report_agent_session\""));
+ assert!(KIMI_HOOK_ASSET.contains("method = \"pane.report_agent\""));
+ assert!(KIMI_HOOK_ASSET.contains("params[\"state\"] = action"));
assert!(!KIMI_HOOK_ASSET.contains("pane.release_agent"));
assert!(COPILOT_HOOK_ASSET.contains("agent_session_id"));
assert!(COPILOT_HOOK_ASSET.contains("pane.report_agent_session"));