Skip to content

Commit 4b6ef0d

Browse files
author
zenus
committed
test: align codex effort validation expectation
1 parent ce6a489 commit 4b6ef0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test-plan-file-validation.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,10 @@ set +e
720720
RESULT=$("$PROJECT_ROOT/scripts/setup-rlcr-loop.sh" --codex-model "gpt-5.4:high#comment" "plans/test-plan.md" 2>&1)
721721
EXIT_CODE=$?
722722
set -e
723-
if [[ $EXIT_CODE -ne 0 ]] && echo "$RESULT" | grep -q "invalid characters"; then
723+
if [[ $EXIT_CODE -ne 0 ]] && echo "$RESULT" | grep -q "Invalid codex effort"; then
724724
pass "Codex effort with hash rejected"
725725
else
726-
fail "Codex effort validation" "exit 1 with invalid characters error" "$RESULT"
726+
fail "Codex effort validation" "exit 1 with invalid codex effort error" "$RESULT"
727727
fi
728728

729729
# Test 14: Accept valid codex model with dots and hyphens

0 commit comments

Comments
 (0)