willowtreeapps / assertk

assertions for kotlin inspired by assertj
MIT License
757 stars 84 forks source link

show bytes as hex on all supported platforms #498

Closed evant closed 8 months ago

evant commented 9 months ago

~note: I'm a bit less sure about the short hex representation, it's a convenient way to make sure it displays uniquely but I don't know if it's the best display format for how they are used in practice~

495

evant commented 9 months ago

If we don't want hex display of shorts #499 may be a better solution there ex:

expected:<4> with type:<class kotlin.Int> but was type:<class kotlin.Short> with the same string representation