Skip to content

The agent that grows with you

test(goal): assert the ignored-words hint on control verbs with trailing words

kshitijk4poore2e11f49e1e2
diff --git a/tests/hermes_cli/test_goal_dispatch.py b/tests/hermes_cli/test_goal_dispatch.py
index b5b39b64a11..2ef73513ddf 100644
--- a/tests/hermes_cli/test_goal_dispatch.py
+++ b/tests/hermes_cli/test_goal_dispatch.py
@@ -133,8 +133,9 @@ def test_control_verb_with_trailing_words_never_replaces_the_goal(command, pause
mgr.set('original objective')
if paused:
mgr.pause(reason='user-paused')
- _dispatch(mgr, command)
+ result = _dispatch(mgr, command)
assert goals.load_goal(mgr.session_id).goal == 'original objective'
+ assert ('(ignored ' in result.output) == (' ' in command)
def test_double_dash_sets_control_word_goal_and_announces_the_replace():