From 51c3d0142415ded514f4d3567dfc00cf83fc89f2 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Mon, 19 Aug 2024 13:35:26 +0200 Subject: [PATCH] Restore test block to original test purpose --- .../test/java/org/openrewrite/gradle/GradleParserTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rewrite-gradle/src/test/java/org/openrewrite/gradle/GradleParserTest.java b/rewrite-gradle/src/test/java/org/openrewrite/gradle/GradleParserTest.java index c7d88828e8c..7ffb40fcc46 100644 --- a/rewrite-gradle/src/test/java/org/openrewrite/gradle/GradleParserTest.java +++ b/rewrite-gradle/src/test/java/org/openrewrite/gradle/GradleParserTest.java @@ -170,12 +170,13 @@ void handleImportsThatArentTheFirstStatement() { rewriteRun( buildGradle( """ - import org.gradle.api.Project - plugins { id 'java-library' } + // Deliberately not first, as per test + import org.gradle.api.Project + repositories { mavenCentral() }