Skip to content

Commit

Permalink
Fix expectation after correcting package
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Nov 27, 2024
1 parent 68f52b9 commit cd36280
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class Bar {
}
"""
),
// package-info.java
//language=java
java(
"""
@ParametersAreNonnullByDefault
Expand All @@ -96,8 +96,9 @@ class Bar {
@NullMarked
package org.openrewrite.example;
import org.jspecify.annotation.NullMarked;
"""
import org.jspecify.annotations.NullMarked;
""",
spec -> spec.path("src/main/java/org/openrewrite/example/package-info.java")
)
),
//language=xml
Expand Down

0 comments on commit cd36280

Please sign in to comment.