From caf370e0098d4720f1d2a0a2cb3ad23d41539ab6 Mon Sep 17 00:00:00 2001 From: scala-steward <122865766+scala-steward-geirolz[bot]@users.noreply.github.com> Date: Sun, 28 Jul 2024 00:27:10 +0000 Subject: [PATCH] Reformat with scalafmt 3.8.3 Executed command: scalafmt --non-interactive --- core/src/test/scala/advxml/data/DataConvertInstancesTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/scala/advxml/data/DataConvertInstancesTest.scala b/core/src/test/scala/advxml/data/DataConvertInstancesTest.scala index fd6982ce..686ec4a4 100644 --- a/core/src/test/scala/advxml/data/DataConvertInstancesTest.scala +++ b/core/src/test/scala/advxml/data/DataConvertInstancesTest.scala @@ -113,7 +113,7 @@ class ConvertersInstancesTestForText extends AnyFunSuite with ConvertersAssertsU Converter[Double , Text].test(1.0d , Text("1.0")) case class CustomType(v: Int) - implicit val customTypeAsValidatedValueConverter: CustomType As ValidatedValue = + implicit val customTypeAsValidatedValueConverter: CustomType As ValidatedValue = Converter.of(ct => SimpleValue(ct.v.toString).nonEmpty) Converter[CustomType, Try[Text]].test(CustomType(1), Success(Text("1")))