From e4a2c99188465dce4b56a8832807c370973b7905 Mon Sep 17 00:00:00 2001 From: Michel Davit Date: Tue, 14 Nov 2023 17:15:37 +0100 Subject: [PATCH] Favor imports instead of mixin --- .../scala/magnolify/guava/FunnelDerivationSuite.scala | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/guava/src/test/scala/magnolify/guava/FunnelDerivationSuite.scala b/guava/src/test/scala/magnolify/guava/FunnelDerivationSuite.scala index 31d22e433..e2929b382 100644 --- a/guava/src/test/scala/magnolify/guava/FunnelDerivationSuite.scala +++ b/guava/src/test/scala/magnolify/guava/FunnelDerivationSuite.scala @@ -30,11 +30,9 @@ import java.nio.charset.Charset import java.time.Duration import scala.reflect.* -class FunnelDerivationSuite - extends MagnolifySuite - with magnolify.scalacheck.AutoDerivations - with magnolify.guava.FunnelImplicits - with magnolify.guava.AutoDerivations { +class FunnelDerivationSuite extends MagnolifySuite with magnolify.guava.FunnelImplicits { + import magnolify.scalacheck.auto.genArbitrary + import magnolify.guava.auto.genFunnel private def test[T: ClassTag](implicit arb: Arbitrary[T], t: Funnel[T]): Unit = { // TODO val fnl = ensureSerializable(t)