Skip to content

The agent that grows with you

test: align gateway review acknowledgement with shared formatter

Tekniumee84ccd8bd13
diff --git a/tests/gateway/test_review_command.py b/tests/gateway/test_review_command.py
index ddeb5b47b9b..4c59c9221a0 100644
--- a/tests/gateway/test_review_command.py
+++ b/tests/gateway/test_review_command.py
@@ -103,7 +103,7 @@ async def test_review_command_dispatches_background_subagent(monkeypatch):
runner = _make_runner(agent)
out = await runner._handle_review_command(_Event("check tests"))
- assert "dispatched" in out
+ assert out == re_mod.format_dispatch_note({"status": "dispatched"})
assert "PR #5 opened" in built["context"]
assert "check tests" in built["context"]