Hello,
In my unit tests when expected is not the actual result, I like display actual value with Go-syntax. For example:
if got != expected {
t.Errorf(" %#v", got) // []string{"blah','blah"}
}
But it want to know if there is elegant way to display as formatted on multi-lines (a kind of indented json but with gofmt rules)?
Thanks in advance,