diff --git a/core/src/test/scala/dev/profunktor/fs2rabbit/model/codec/AmqpFieldEncoderSpec.scala b/core/src/test/scala/dev/profunktor/fs2rabbit/model/codec/AmqpFieldEncoderSpec.scala index 23e96dd0..1cb956af 100644 --- a/core/src/test/scala/dev/profunktor/fs2rabbit/model/codec/AmqpFieldEncoderSpec.scala +++ b/core/src/test/scala/dev/profunktor/fs2rabbit/model/codec/AmqpFieldEncoderSpec.scala @@ -62,12 +62,12 @@ class AmqpFieldEncoderSpec extends AnyFunSuite with Matchers { // cats collections testAmqpFieldDecoder[NonEmptyList[Int]]( ArrayVal(List(IntVal(1), IntVal(2)).toVector), - Right(NonEmptyList[Int](1, List(2))) + Right(NonEmptyList.of[Int](1, 2)) ) testAmqpFieldDecoder[NonEmptySeq[Int]]( ArrayVal(List(IntVal(1), IntVal(2)).toVector), - Right(NonEmptySeq[Int](1, Seq(2))) + Right(NonEmptySeq.of[Int](1, 2)) ) @inline