Skip to content

Set commentCharacter on @CsvSource to avoid clash with '#' delimiter#131

Merged
timtebeek merged 1 commit into
mainfrom
tim/fix-main-ci-failure
May 22, 2026
Merged

Set commentCharacter on @CsvSource to avoid clash with '#' delimiter#131
timtebeek merged 1 commit into
mainfrom
tim/fix-main-ci-failure

Conversation

@timtebeek
Copy link
Copy Markdown
Member

Summary

  • JUnit Jupiter Params 5.13+ enforces that @CsvSource's delimiter, quoteCharacter, and commentCharacter must all differ; the default commentCharacter ('#') clashed with our delimiter = '#', breaking 8 parameterized tests on main.
  • Added commentCharacter = '\0' to each affected @CsvSource in DefaultIfBlankToJdkTest, IsBlankToJdkTest, and IsNotEmptyToJdkTest, effectively disabling comment handling while satisfying the distinctness check.

Test plan

  • ./gradlew test --tests DefaultIfBlankToJdkTest --tests IsBlankToJdkTest --tests IsNotEmptyToJdkTest

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite May 22, 2026
@timtebeek timtebeek merged commit 6c0dcd1 into main May 22, 2026
1 check passed
@timtebeek timtebeek deleted the tim/fix-main-ci-failure branch May 22, 2026 11:12
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant