Typo in exception doc
benoitdupont opened this issue · comments
Hello,
I found a small typo in https://assertj.github.io/doc/#assertj-core-exception-assertions-java-7: Put the code to should throw in a try-catch
I propose to fix this as following: Put the code that should throw the exception in a try-catch
But maybe this solution repeat the words: code that should throw the exception with the next line: Call fail method immediately after the code that should throw the exception, so that if it is not thrown, the test fails.