From e65668a8be9b0a426f2b218861f4bf912ab19d20 Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Sun, 23 Jun 2024 13:19:34 -0400 Subject: [PATCH] Test fixes --- src/test/java/rife/bld/operations/TestPublishOperation.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/rife/bld/operations/TestPublishOperation.java b/src/test/java/rife/bld/operations/TestPublishOperation.java index 90a6437..205b0d2 100644 --- a/src/test/java/rife/bld/operations/TestPublishOperation.java +++ b/src/test/java/rife/bld/operations/TestPublishOperation.java @@ -53,7 +53,7 @@ static void deleteReposilite() static class PublishProject extends AppProjectBlueprint { public PublishProject(File work, String packageName, String projectName, VersionNumber versionNumber) { super(work, packageName, projectName, versionNumber); - javaRelease = 19; + javaRelease = 17; } } @@ -119,6 +119,8 @@ void testPopulation() { assertEquals(moment, operation3.moment()); assertTrue(operation3.artifacts().contains(artifact1)); assertTrue(operation3.artifacts().contains(artifact2)); + assertEquals(17, operation3.properties().mavenCompilerSource()); + assertEquals(19, operation3.properties().mavenCompilerTarget()); } @Test