generated from moderneinc/rewrite-recipe-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement visitor for migration of Assert.assertEquals(Iterator, Iterator, String)
#1
Comments
Philzen
added a commit
that referenced
this issue
Jun 14, 2024
Philzen
added a commit
that referenced
this issue
Jun 14, 2024
Philzen
added a commit
that referenced
this issue
Jun 14, 2024
Philzen
added a commit
that referenced
this issue
Jun 19, 2024
Philzen
added a commit
that referenced
this issue
Jun 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JUnit 5 does not implement dedicated handling of iterators in
Assertion.assertEquals(…)
– i've done a quick UnitTest comparison, and if simply replaced, a test case that passed in TestNG will fail after the migration.Following replacement works:
Before
After
IMHO it's unfortunately not possible to integrate this replacement into the Refaster Recipe, as that can only replace existing code with a single statement, therefore we'll need a dedicated visitor.
The text was updated successfully, but these errors were encountered: