Skip to content

Commit

Permalink
Fix JavaTypeMappingTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Nov 8, 2022
1 parent d65dbe3 commit ccfb12e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ default void enumTypeB() {
.filter(m -> m.getName().equals("<constructor>"))
.findFirst()
.get();
assertThat(type.toString()).isEqualTo("org.openrewrite.java.JavaTypeGoat$EnumTypeB{name=<constructor>,return=org.openrewrite.java.JavaTypeGoat$EnumTypeB,parameters=[org.openrewrite.java.JavaTypeGoat${'$'}TypeA]}");
assertThat(type.toString()).isEqualTo("org.openrewrite.java.JavaTypeGoat$EnumTypeB{name=<constructor>,return=org.openrewrite.java.JavaTypeGoat$EnumTypeB,parameters=[org.openrewrite.java.JavaTypeGoat$TypeA]}");

JavaType.FullyQualified supertype = clazz.getSupertype();
assertThat(supertype).isNotNull();
Expand Down

0 comments on commit ccfb12e

Please sign in to comment.