Skip to content
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

Fix tests expecting the wrong exception #108

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Feb 6, 2023

I'm not entirely sure how the tests are currently passing in the Github workflows - I can't get them to pass locally at all. The NotNull decorator, however, specifies that it will raise a NullPointerException so the tests are just wrong. That being said, I think the user experience from raising the IllegalArgumentException is slightly nicer.

I guess the question (as per my other PR) is whether this constitutes a major version since we're changing the exception being raised?

@matthewelwell matthewelwell changed the base branch from release/5.1.3 to release/6.0 March 23, 2023 16:11
@matthewelwell matthewelwell merged commit 0191e6d into release/6.0 Mar 23, 2023
@matthewelwell matthewelwell deleted the fix/broken-tests-for-exceptions branch March 23, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants