File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/scm4j/releaser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public void testMinorUpgradeDowngradeException() {
200200 } catch (EMinorUpgradeDowngrade e ) {
201201 if (e .getRootComp ().equals (compUBL .clone (crbUBL .getVersion ().toPreviousPatch ()))) {
202202 assertEquals (compUnTillDb .clone ("2.59.0" ), e .getProblematicMDep ());
203- } else if (e .getRootComp ().equals (compUBL .clone (crbUnTill .getVersion ().toPreviousPatch ()))) {
203+ } else if (e .getRootComp ().equals (compUnTill .clone (crbUnTill .getVersion ().toPreviousPatch ()))) {
204204 assertEquals (compUnTillDb .clone ("2.60.0" ), e .getProblematicMDep ());
205205 } else {
206206 fail ();
@@ -230,7 +230,7 @@ public void testPatchDowngradeException() {
230230 } catch (EMinorUpgradeDowngrade e ) {
231231 if (e .getRootComp ().equals (compUBL .clone (crbUBL .getVersion ().toPreviousPatch ()))) {
232232 assertEquals (compUnTillDb .clone ("2.59.1" ), e .getProblematicMDep ());
233- } else if (e .getRootComp ().equals (compUBL .clone (crbUnTill .getVersion ().toPreviousPatch ()))) {
233+ } else if (e .getRootComp ().equals (compUnTill .clone (crbUnTill .getVersion ().toPreviousPatch ()))) {
234234 assertEquals (compUnTillDb .clone ("2.59.0" ), e .getProblematicMDep ());
235235 } else {
236236 fail ();
You can’t perform that action at this time.
0 commit comments