Skip to content

Commit 0fb8fed

Browse files
committed
Fix assertion
1 parent e5d5ac8 commit 0fb8fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/sbm-core/src/test/java/org/springframework/sbm/project/parser/ResourceVerifierTestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public void assertMarker(SourceFile sourceFile, JavaVersion marker) {
205205
.isEqualTo(source);
206206

207207
assertThat(marker.getTargetCompatibility())
208-
.as("Invalid marker [JavaVersion] for resource '%s'. Expected targetCompatibility to be '%s' but was '%s'", sourceFile.getSourcePath().toString(), target, marker.getSourceCompatibility())
208+
.as("Invalid marker [JavaVersion] for resource '%s'. Expected targetCompatibility to be '%s' but was '%s'", sourceFile.getSourcePath().toString(), target, marker.getTargetCompatibility())
209209
.isEqualTo(target);
210210
}
211211

0 commit comments

Comments
 (0)