diff --git a/jvm/src/test/scala/io/kaitai/struct/SimpleMatchers.scala b/jvm/src/test/scala/io/kaitai/struct/SimpleMatchers.scala index 53eeed45d..8ecfb5496 100644 --- a/jvm/src/test/scala/io/kaitai/struct/SimpleMatchers.scala +++ b/jvm/src/test/scala/io/kaitai/struct/SimpleMatchers.scala @@ -29,7 +29,7 @@ trait SimpleMatchers { def shouldEqualPlainly(right: Any)(implicit equality: Equality[T]): Assertion = if (!equality.areEqual(leftSideValue, right)) { throw new exceptions.TestFailedException( - (e: exceptions.StackDepthException) => Some(s"""${leftSideValue} did not equal ${right}"""), + (e: exceptions.StackDepthException) => Some(s"""[${leftSideValue}]\n did not equal\n[${right}]"""), None, Position.here )