invalid update in file ATest.java [in q [in srcTest [in RenamePack2]]] package q class ATest A t A t2 expected:<package q; [import p.p.A; ]public class ATest {...> but was:<package q; []public class ATest {...>
org.junit.ComparisonFailure: invalid update in file ATest.java [in q [in srcTest [in RenamePack2]]]
package q
class ATest
A t
A t2 expected:<package q;
[import p.p.A;
]public class ATest {...> but was:<package q;
[]public class ATest {...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.eclipse.jdt.ui.tests.refactoring.GenericRefactoringTest.assertEqualLines(GenericRefactoringTest.java:648)
at org.eclipse.jdt.ui.tests.refactoring.RenamePackageTests.helperMultiProjects(RenamePackageTests.java:488)
at org.eclipse.jdt.ui.tests.refactoring.RenamePackageTests.testImportFromMultiRoots5(RenamePackageTests.java:1387)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
I20240822-0100 org.eclipse.jdt.ui.tests.refactoring.RenamePackageTests testImportFromMultiRoots5
The above test failed on gtk3-java17.