You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the JUnitToAssertJRules across some code I noticed that AssertThatIsTrue and AssertThatIsFalse transformed some JUnit assertTrue() and assertFalse() calls:
It seems like it would be a nice addition to have specific rules calling AbstractIteratorAssert#hasNext() and AbstractIteratorAssert#isExhausted() instead.
Running the
JUnitToAssertJRules
across some code I noticed thatAssertThatIsTrue
andAssertThatIsFalse
transformed some JUnitassertTrue()
andassertFalse()
calls:It seems like it would be a nice addition to have specific rules calling
AbstractIteratorAssert#hasNext()
andAbstractIteratorAssert#isExhausted()
instead.The example was found in hibernate/hibernate-tools: https://github.com/hibernate/hibernate-tools/blob/10431fc27866d295be9d2062ffdc9b1cd9099c16/jbt/src/test/java/org/hibernate/tool/orm/jbt/util/NativeConfigurationTest.java#L242-L247
The text was updated successfully, but these errors were encountered: