From a5512b875678c6a17ae3af790114a4c1bfd234da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 20:30:31 +0000 Subject: [PATCH 1/2] Bump net.jqwik:jqwik from 1.8.2 to 1.8.3 Bumps [net.jqwik:jqwik](https://github.com/jqwik-team/jqwik) from 1.8.2 to 1.8.3. - [Release notes](https://github.com/jqwik-team/jqwik/releases) - [Commits](https://github.com/jqwik-team/jqwik/compare/1.8.2...1.8.3) --- updated-dependencies: - dependency-name: net.jqwik:jqwik dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- approvaltests-tests/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/approvaltests-tests/pom.xml b/approvaltests-tests/pom.xml index ce8ef62a..7b5799ab 100644 --- a/approvaltests-tests/pom.xml +++ b/approvaltests-tests/pom.xml @@ -81,7 +81,7 @@ net.jqwik jqwik - 1.8.2 + 1.8.3 From 22a13480191ef78e192b71102710b0a4f69c8bb2 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 23 Feb 2024 20:35:09 +0000 Subject: [PATCH 2/2] 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); } }