Skip to content

Commit d5f6171

Browse files
committed
minor upgrade/downgrade detection: tests update
1 parent aa7cfab commit d5f6171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/scm4j/releaser/WorkflowPatchesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void testMinorUpgradeDowngradeException() {
203203
} else if (e.getRootComp().equals(compUnTill.clone(crbUnTill.getVersion().toPreviousPatch()))) {
204204
assertEquals(compUnTillDb.clone("2.60.0"), e.getProblematicMDep());
205205
} else {
206-
fail();
206+
assertEquals(e.getRootComp(), compUBL.clone(crbUBL.getVersion().toPreviousPatch()));
207207
}
208208
}
209209
}

0 commit comments

Comments
 (0)