Skip to content

Commit 53e673a

Browse files
Update rewrite-kotlin/src/test/java/org/openrewrite/kotlin/tree/KTSTest.java
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6d95c2a commit 53e673a

File tree

1 file changed

+7
-7
lines changed
  • rewrite-kotlin/src/test/java/org/openrewrite/kotlin/tree

1 file changed

+7
-7
lines changed

rewrite-kotlin/src/test/java/org/openrewrite/kotlin/tree/KTSTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ fun two() = "two"
6060
spec -> spec.afterRecipe(cu ->
6161
assertThat(cu.getTypesInUse().getUsedMethods())
6262
.singleElement()
63-
.satisfies(m -> {
64-
assertThat(m.getDeclaringType())
65-
.satisfies(it -> {
66-
assertThat(it.getFullyQualifiedName()).isEqualTo("org.example.openRewriteFile1Kt");
67-
assertThat(it.getMethods()).extracting(JavaType.Method::getName).containsExactlyInAnyOrder("one", "two");
68-
});
69-
})
63+
.satisfies(m ->
64+
assertThat(m.getDeclaringType())
65+
.satisfies(it -> {
66+
assertThat(it.getFullyQualifiedName()).isEqualTo("org.example.openRewriteFile1Kt");
67+
assertThat(it.getMethods()).extracting(JavaType.Method::getName).containsExactlyInAnyOrder("one", "two");
68+
})
69+
)
7070
)
7171
)
7272
);

0 commit comments

Comments
 (0)