From c96deb2a9a4fab6720465e77386885cf09304922 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Sun, 4 Feb 2024 18:27:14 +0100 Subject: [PATCH] Fix unrelated test failure due to non-whitespace check --- ...ParameterizedRunnerToParameterizedTest.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/test/java/org/openrewrite/java/testing/junit5/ParameterizedRunnerToParameterizedTest.java b/src/test/java/org/openrewrite/java/testing/junit5/ParameterizedRunnerToParameterizedTest.java index 18ae15e9e..9f4b5f269 100644 --- a/src/test/java/org/openrewrite/java/testing/junit5/ParameterizedRunnerToParameterizedTest.java +++ b/src/test/java/org/openrewrite/java/testing/junit5/ParameterizedRunnerToParameterizedTest.java @@ -528,11 +528,11 @@ void parameterizedTestWithEmptyConstructor() { rewriteRun( //language=java java( - """ + """ import java.util.Arrays; import java.util.Collection; import org.junit.runners.Parameterized; - + class SampleTestClass { @Parameterized.Parameter(value = 0) public int num1; @@ -543,12 +543,12 @@ class SampleTestClass { public SampleTestClass() { } - + @Parameterized.Parameters public static Collection data() { return Arrays.asList(new Object[][]{ {1, 2, 3}, - {4, 5, 6}, + {4, 5, 6} }); } } @@ -556,22 +556,22 @@ public static Collection data() { """ import java.util.Arrays; import java.util.Collection; - + class SampleTestClass { public int num1; public int num2; public int num3; - + public SampleTestClass() { } - + public static Collection data() { return Arrays.asList(new Object[][]{ {1, 2, 3}, - {4, 5, 6}, + {4, 5, 6} }); } - + public void initSampleTestClass(int num1, int num2, int num3) { this.num1 = num1; this.num2 = num2;