elharo commented on PR #1156:
URL: https://github.com/apache/commons-lang/pull/1156#issuecomment-1887562882
yes, I suppose assertThrows is a special case. Cue George Carlin
voice...Although, now that I think about it,
I really don't like assertThrows. The JUnit 4 approach try {
doSomethingThatThrows(); fail();} catch (Exception ex) (assert on the exception)
was much cleaner and more obvious. I might think differently if Java's
lambda syntax was more like Python and less like line noise but that's not the
world we live in.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]