specs2 5.0.0 RC2
This release adds generic diffs for case classes:
// setup
case class Foo(x: String, y: Int)
val foo1 = Foo("a", 1)
val foo2 = Foo("b", 2)
// test
foo1 === foo2
// result
Foo(x: 'a' != 'b'
y: 1 != 2)
This release adds generic diffs for case classes:
// setup
case class Foo(x: String, y: Int)
val foo1 = Foo("a", 1)
val foo2 = Foo("b", 2)
// test
foo1 === foo2
// result
Foo(x: 'a' != 'b'
y: 1 != 2)