File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
rewrite-kotlin/src/test/java/org/openrewrite/kotlin/tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -53,20 +53,20 @@ fun two() = "two"
5353 ),
5454 kotlinScript (
5555 """
56- import org.example.one
57- one()
58- """ ,
59- spec -> spec .afterRecipe (cu -> {
60- assertThat (cu .getTypesInUse ().getUsedMethods ())
61- .singleElement ()
62- .satisfies (m -> {
63- assertThat (m .getDeclaringType ())
64- .satisfies (it -> {
65- assertThat (it .getFullyQualifiedName ()).isEqualTo ("org.example.openRewriteFile1Kt" );
66- assertThat (it .getMethods ()).hasSize (2 );
67- });
68- });
69- } )
56+ import org.example.one
57+ one()
58+ """ ,
59+ spec -> spec .afterRecipe (cu ->
60+ assertThat (cu .getTypesInUse ().getUsedMethods ())
61+ .singleElement ()
62+ .satisfies (m -> {
63+ assertThat (m .getDeclaringType ())
64+ .satisfies (it -> {
65+ assertThat (it .getFullyQualifiedName ()).isEqualTo ("org.example.openRewriteFile1Kt" );
66+ assertThat (it .getMethods ()).hasSize (2 );
67+ });
68+ })
69+ )
7070 )
7171 );
7272 }
You can’t perform that action at this time.
0 commit comments