Skip to content

Fail test if no exception is thrown in testErrorMessageWhenNoLineTokenizerWasProvided#4883

Merged
fmbenhassine merged 1 commit intospring-projects:mainfrom
martinfrancois:gh-throwerror-test
Jun 13, 2025
Merged

Fail test if no exception is thrown in testErrorMessageWhenNoLineTokenizerWasProvided#4883
fmbenhassine merged 1 commit intospring-projects:mainfrom
martinfrancois:gh-throwerror-test

Conversation

@martinfrancois
Copy link
Copy Markdown
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.

…enizerWasProvided`

Signed-off-by: martinfrancois <f.martin@fastmail.com>
@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