Skip to content

Recipe testing best practices#7094

Merged
timtebeek merged 3 commits intomainfrom
feature/recipe-testing-best-practices
Mar 23, 2026
Merged

Recipe testing best practices#7094
timtebeek merged 3 commits intomainfrom
feature/recipe-testing-best-practices

Conversation

@timtebeek
Copy link
Copy Markdown
Member

The prior commit replaced .collect(toList()) with .toList(), but the
resulting immutable list is later mutated via addAll(), causing
UnsupportedOperationException in all 19 RenameVariableTest cases.
@timtebeek timtebeek merged commit 58a608d into main Mar 23, 2026
1 check passed
@timtebeek timtebeek deleted the feature/recipe-testing-best-practices branch March 23, 2026 20:14
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant