Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pkgs/opencode-config-normalize/normalize_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,6 @@ grep -qF 'https://example.com/docs */' "$tmp/plugins-merge-url-comment.jsonc" ||
failures=$((failures + 1))
}

if [ "$failures" -ne 0 ]; then
echo "normalize_test: $failures failure(s)"
exit 1
fi
# Case: agent as the last entry, with an inline comment between the
# preceding entry's comma and the agent key (PR #4625 Codex P2). The
# backward separator scan in delete_top_level_entry must skip the
Expand All @@ -522,4 +518,9 @@ EOF
check comment-before-agent-last "$tmp/comment-before-agent-last.fixture" \
'{"$schema":"https://opencode.ai/config.json","agents":{"build":{"model":"anthropic/claude-sonnet-4-5"},"plan":{"model":"anthropic/claude-sonnet-4-5"}}}' 0

if [ "$failures" -ne 0 ]; then
echo "normalize_test: $failures failure(s)"
exit 1
fi

echo "normalize_test: all cases passed"
Loading