diff --git a/tests/gateway/test_review_command.py b/tests/gateway/test_review_command.py index ddeb5b47b9..4c59c9221a 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"]