Skip to content

Conversation

dreis2211
Copy link
Contributor

Hi,

I just noticed some usages of @Test(expected = SomeException.class) that could probably benefit from using AssertJ facilities. E.g. by making clear what is expected to fail in a test.

Let me know what you think.
Cheers,
Christoph

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 1, 2019
@mbhave
Copy link
Contributor

mbhave commented Mar 1, 2019

Thanks @dreis2211. They might have been missed in #16066.

@mbhave mbhave added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 1, 2019
@mbhave mbhave added this to the 2.1.x milestone Mar 1, 2019
@dreis2211
Copy link
Contributor Author

@mbhave I wonder if you mean #14336?

@mbhave
Copy link
Contributor

mbhave commented Mar 1, 2019

Oops, sorry I did mean that. I don't know why I pasted the same issue number 🤦‍♀️

@dreis2211
Copy link
Contributor Author

Test failure seems unrelated.

@snicoll snicoll self-assigned this Mar 4, 2019
@snicoll snicoll modified the milestones: 2.1.x, 2.1.4 Mar 4, 2019
snicoll pushed a commit that referenced this pull request Mar 4, 2019
snicoll added a commit that referenced this pull request Mar 4, 2019
* pr/16066:
  Polish "Use AssertJ facilities for expected exceptions"
  Use AssertJ facilities for expected exceptions
@snicoll snicoll closed this in 235fbfb Mar 4, 2019
@snicoll
Copy link
Member

snicoll commented Mar 4, 2019

@dreis2211 good catch again, thanks.

@dreis2211
Copy link
Contributor Author

Sorry I missed the 3 copyright updates :/

@snicoll
Copy link
Member

snicoll commented Mar 4, 2019

No need to be sorry, Christoph. Thanks for all the hard work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants