Skip to content

The agent that grows with you

test(update): say what the kept fetch-config assertion pins

kshitijk4poor981719f589d9
diff --git a/tests/hermes_cli/test_update_narrow_clone_refspec.py b/tests/hermes_cli/test_update_narrow_clone_refspec.py
index c43d5c540e8..7e870e56fb0 100644
--- a/tests/hermes_cli/test_update_narrow_clone_refspec.py
+++ b/tests/hermes_cli/test_update_narrow_clone_refspec.py
@@ -94,7 +94,7 @@ def test_check_fetch_materialises_tracking_ref_on_narrow_clone(
assert _git(clone, "rev-parse", "origin/main") == tip_sha
assert "not found on origin" not in out
assert "Update available" in out
- # Widening is additive: the tag refspec the clone was pinned to survives.
+ # The fix fetches by refspec and never rewrites the remote's fetch config.
assert any(
line.strip().startswith("+refs/tags/v9.9.9")
for line in _git(