From 48369f093887dd7cd2382fc9509b97e86a1b1dbc Mon Sep 17 00:00:00 2001 From: Guillermo Calvo Date: Sat, 6 Jan 2024 13:08:22 +0100 Subject: [PATCH] Improve readability --- .../me/champeau/gradle/ClasspathIsUsedFunctionalTest.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/groovy/me/champeau/gradle/ClasspathIsUsedFunctionalTest.groovy b/src/test/groovy/me/champeau/gradle/ClasspathIsUsedFunctionalTest.groovy index 0616246..a967cc6 100644 --- a/src/test/groovy/me/champeau/gradle/ClasspathIsUsedFunctionalTest.groovy +++ b/src/test/groovy/me/champeau/gradle/ClasspathIsUsedFunctionalTest.groovy @@ -30,7 +30,8 @@ class ClasspathIsUsedFunctionalTest extends BaseFunctionalTest { throw new IllegalStateException("Need to update the byteCode version mapping for Java ${JavaVersion.current()}, you can ref https://javaalmanac.io/bytecode/versions") } // Superclasses can only be reported if the classpath is present - hasTextReport("""Comparing source compatibility of ${testProjectDir.fileName}-v2.jar against ${testProjectDir.fileName}.jar + hasTextReport("Comparing source compatibility of ${testProjectDir.fileName}-v2.jar against ${testProjectDir.fileName}.jar") + hasTextReport(""" ***! MODIFIED CLASS: PUBLIC me.champeau.gradle.japicmp.Subtype (not serializable) \t=== CLASS FILE FORMAT VERSION: $byteCodeVersion <- $byteCodeVersion \t***! MODIFIED SUPERCLASS: me.champeau.gradle.japicmp.ChangedLibrarySuperclass (<- me.champeau.gradle.japicmp.LibrarySuperclass)