diff --git a/rewrite-yaml/src/test/java/org/openrewrite/yaml/trait/YamlReferenceTest.java b/rewrite-yaml/src/test/java/org/openrewrite/yaml/trait/YamlReferenceTest.java index e37e2244d099..d834d0c517f9 100644 --- a/rewrite-yaml/src/test/java/org/openrewrite/yaml/trait/YamlReferenceTest.java +++ b/rewrite-yaml/src/test/java/org/openrewrite/yaml/trait/YamlReferenceTest.java @@ -88,7 +88,6 @@ void findJavaReferencesInYamlProperties(String filename) { void noReferencesInMismatchedFilenames(String filename) { rewriteRun( yaml( - YAML, spec -> spec.path(filename).afterRecipe(doc -> assertThat(doc.getReferences().getReferences()).isEmpty()) )