Skip to content

Commit

Permalink
Polish. Updated tests in AnnotationTest to address type validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
traceyyoshima committed Dec 2, 2023
1 parent 7f5dd29 commit 258ef2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/java/org/openrewrite/kotlin/tree/AnnotationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ class A

@ParameterizedTest
@ValueSource(strings = {
"@A @B object A",
"@A internal @B object A"
"@A @B object C",
"@A internal @B object C"
})
void objectDeclaration(String input) {
rewriteRun(
Expand Down Expand Up @@ -505,6 +505,7 @@ void collectionLiteralExpression() {
JsonSubTypes . Type(value = Employee::class, name = "Employee")
])
public sealed interface Person
class Employee
"""
)
);
Expand Down

0 comments on commit 258ef2c

Please sign in to comment.