From 22a13480191ef78e192b71102710b0a4f69c8bb2 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 23 Feb 2024 20:35:09 +0000 Subject: [PATCH] a reformat code --- .../test/java/org/approvaltests/Parse1InputTest.java | 3 ++- .../test/java/org/approvaltests/Parse2InputTest.java | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/approvaltests-tests/src/test/java/org/approvaltests/Parse1InputTest.java b/approvaltests-tests/src/test/java/org/approvaltests/Parse1InputTest.java index 27c167f3..4fcac5f4 100644 --- a/approvaltests-tests/src/test/java/org/approvaltests/Parse1InputTest.java +++ b/approvaltests-tests/src/test/java/org/approvaltests/Parse1InputTest.java @@ -22,6 +22,7 @@ void testWithTypesTransformersAndBoth() """; ParseInput.from(expected).withTypes(Integer.class).verifyAll(Integer::toBinaryString); ParseInput.from(expected).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString); - ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString); + ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt) + .verifyAll(Integer::toBinaryString); } } diff --git a/approvaltests-tests/src/test/java/org/approvaltests/Parse2InputTest.java b/approvaltests-tests/src/test/java/org/approvaltests/Parse2InputTest.java index cd8a9292..a586e10e 100644 --- a/approvaltests-tests/src/test/java/org/approvaltests/Parse2InputTest.java +++ b/approvaltests-tests/src/test/java/org/approvaltests/Parse2InputTest.java @@ -8,12 +8,12 @@ public class Parse2InputTest void testWithTypesTransformersAndBoth() { var expected = """ - 1,2.2 -> 2.2 - 1,3.3 -> 3.3 - """; + 1,2.2 -> 2.2 + 1,3.3 -> 3.3 + """; ParseInput.from(expected).withTypes(Integer.class, Double.class).verifyAll(t -> t.getFirst() * t.getSecond()); // TODO: continue here -// ParseInput.from(expected).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString); -// ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString); + // ParseInput.from(expected).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString); + // ParseInput.from(expected).withTypes(String.class).transformTo(Integer::parseInt).verifyAll(Integer::toBinaryString); } }