Skip to content

Fail test if no exception is thrown in testErrorMessageWhenNoLineTokenizerWasProvided #4883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

martinfrancois
Copy link
Contributor

@martinfrancois martinfrancois commented Jun 13, 2025

Currently, if the builder method doesn't throw an exception, the test would still pass.

Instead of adding a fail() after the builder call, I refactored it to be consistent with the other tests for exceptions.

@fmbenhassine fmbenhassine merged commit 639d64f into spring-projects:main Jun 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants