dr.dreigh
05/11/2020, 5:57 PMexpected:<Foo(a=a, b=a, c=a)> but was:<Foo(a=a, b=b, c=c)>
- diff in field Foo.b: "b" did not equal "a"
- diff in field Foo.c: "c" did not equal "a"
It doesn't hook into the intellij expected pattern to highlight the diff in the comparison window.
If we move the diff bit above the expected / actual section, it works, but I think the text looks a little out of context.
What do you think?!sam
05/11/2020, 5:59 PMShow
to ensure you get a nice presentation (so that a long is 3L for example)dr.dreigh
05/11/2020, 6:01 PMShow
, I'll have a go now, it's very much a little hack to see if I could make it work. I'll write it properly, with tests, next.sam
05/11/2020, 6:01 PMdr.dreigh
05/11/2020, 6:09 PMDiff in Foo:
- field a: 321L did not equal 123L
- field b: "b" did not equal "a"
- field c: "c" did not equal "a"
sam
05/11/2020, 6:10 PMdata class Foo(val boo: Boo)
dr.dreigh
05/11/2020, 6:10 PMsam
05/11/2020, 6:11 PMdr.dreigh
05/11/2020, 6:18 PMsam
05/11/2020, 6:19 PMdr.dreigh
05/11/2020, 6:19 PMsam
05/11/2020, 6:20 PMdr.dreigh
05/11/2020, 6:20 PMklass.constructors.first.parameters
it looks likedr.dreigh
05/11/2020, 6:21 PMsam
05/11/2020, 6:22 PMdr.dreigh
05/11/2020, 6:23 PMsam
05/11/2020, 6:24 PMdr.dreigh
05/11/2020, 6:26 PMsam
05/11/2020, 6:26 PMdr.dreigh
05/11/2020, 6:26 PMsam
05/11/2020, 6:26 PMdr.dreigh
05/11/2020, 6:28 PMsam
05/11/2020, 6:29 PMdr.dreigh
05/11/2020, 6:30 PMsam
05/11/2020, 6:31 PMdr.dreigh
05/11/2020, 6:50 PM