diff --git a/formats/src/test/kotlin/com/jakewharton/diffuse/format/ClassTest.kt b/formats/src/test/kotlin/com/jakewharton/diffuse/format/ClassTest.kt index 91ba7229..e80b1069 100644 --- a/formats/src/test/kotlin/com/jakewharton/diffuse/format/ClassTest.kt +++ b/formats/src/test/kotlin/com/jakewharton/diffuse/format/ClassTest.kt @@ -16,6 +16,7 @@ class ClassTest { val type = TypeDescriptor($$"Lcom/jakewharton/diffuse/format/ClassTest$Dummy;") assertThat(clazz.descriptor).isEqualTo(type) + assertThat(clazz.bytecodeVersion).isEqualTo(55) // Reflects the JVM target 11. val initMethod = Method(type, "", emptyList(), TypeDescriptor("V")) val stringArrayDescriptor = TypeDescriptor("[Ljava/lang/String;")