You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am confronted with a case where the default diff printer for iterable is less than helpful. Specifically, I have a case class ( a product ) wrapping a ByteVector ( an iterable ). When comparing two instances, the resulting diff look like this :
which is not very helpful as I do not actually want to compar byte by byte. The root cause seem to be
Hi !
I am confronted with a case where the default diff printer for iterable is less than helpful. Specifically, I have a case class ( a product ) wrapping a
ByteVector
( an iterable ). When comparing two instances, the resulting diff look like this :which is not very helpful as I do not actually want to compar byte by byte. The root cause seem to be
munit.internal.console.Printers
ByteVector
is an iterable => compare element wise https://github.com/scalameta/munit/blob/main/munit/shared/src/main/scala/munit/internal/console/Printers.scala#L83Rough expected behaviour would be :
ByteVector
https://github.com/scodec/scodec-bits/blob/main/core/shared/src/main/scala/scodec/bits/ByteVector.scalaWould it be possible to :
The text was updated successfully, but these errors were encountered: