Added new BogusAssertion inspection that showing typical copy and paste errors where actual and expected expressions are the same.
7 lines
264 B
HTML
7 lines
264 B
HTML
<html>
|
|
<body>
|
|
Finds assertion method calls that have the expected and actual expressions twisted, such as assertThat(5).isEqualTo(foo).
|
|
<!-- tooltip end -->
|
|
For some obvious cases, a quickfix to swap the actual and expected expressions is provided.
|
|
</body>
|
|
</html> |