aboutsummaryrefslogtreecommitdiff
path: root/src/integration/tests.rs
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-08-12 21:13:21 +0200
committerGitHub <noreply@github.com>2026-08-12 22:13:21 +0300
commit1079fff412ca978548e42af79b3f1b7ad7912686 (patch)
treeeb674bc13112d60007341c18603600d1221ea614 /src/integration/tests.rs
parentd46d9a22751ec21a6c39d1acf6b3f31a2b2eecd8 (diff)
fix: use the running binary in agent hooks (#2722)
Diffstat (limited to 'src/integration/tests.rs')
-rw-r--r--src/integration/tests.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/integration/tests.rs b/src/integration/tests.rs
index 6eaf7a39..324ae6ce 100644
--- a/src/integration/tests.rs
+++ b/src/integration/tests.rs
@@ -1058,7 +1058,7 @@ fn claude_v1_integration_status_is_outdated() {
assert_eq!(claude.path, hook_path);
assert_eq!(claude.installed_version, Some(1));
- assert_eq!(claude.expected_version, 7);
+ assert_eq!(claude.expected_version, 8);
assert_eq!(claude.state, IntegrationStatusKind::Outdated);
std::env::remove_var("HOME");
@@ -1088,7 +1088,7 @@ fn claude_v2_integration_status_is_outdated() {
assert_eq!(claude.path, hook_path);
assert_eq!(claude.installed_version, Some(2));
- assert_eq!(claude.expected_version, 7);
+ assert_eq!(claude.expected_version, 8);
assert_eq!(claude.state, IntegrationStatusKind::Outdated);
std::env::remove_var("HOME");
@@ -1221,7 +1221,7 @@ fn codex_v2_integration_status_is_outdated() {
assert_eq!(codex.path, hook_path);
assert_eq!(codex.installed_version, Some(2));
- assert_eq!(codex.expected_version, 7);
+ assert_eq!(codex.expected_version, 8);
assert_eq!(codex.state, IntegrationStatusKind::Outdated);
std::env::remove_var("HOME");
@@ -2725,6 +2725,11 @@ fn bundled_integration_asset_versions_match_expected_versions() {
),
("cursor", CURSOR_HOOK_ASSET, CURSOR_INTEGRATION_VERSION),
(
+ "antigravity_cli",
+ ANTIGRAVITY_CLI_HOOK_ASSET,
+ ANTIGRAVITY_CLI_INTEGRATION_VERSION,
+ ),
+ (
"mastracode",
MASTRACODE_HOOK_ASSET,
MASTRACODE_INTEGRATION_VERSION,