You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): Fix all failing tests in universal-detect-changes-and-generate-changelog
Fixed 5 failing tests by addressing both implementation bugs and incorrect test expectations.
Implementation fixes:
- cache-keys.sh: Added debug output showing both original and modified cache key prefix
- generate-changelog.sh: Fixed is_empty() to properly handle whitespace-only content by stripping spaces and tabs
- generate-changelog.sh: Fixed empty branch names handling by adding || true to grep commands
Test fixes:
- Updated special characters test to expect %25 (correct GitHub Actions percent-encoding)
- Updated quotes test to expect alphabetically sorted branch names per implementation
All 29 tests now pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments