Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Sep 4, 2024
1 parent 6ce8c7c commit 0604f6f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0604f6f

Please sign in to comment.