testify / show differences / length of strings limited Follow
The diff view for failed testify asserts is great. However, I have two longer strings I want to compare, but the diff view cuts the strings, and my difference is in the cut-off part.
Is there a way to tell Goland not to cut off strings?
Please sign in to leave a comment.
Thanks for the update. It seems you bump into this issue https://github.com/golang/go/issues/36059 We track it as https://youtrack.jetbrains.com/issue/GO-8141 But I'm not sure we can do much without changes on the Go side.
Do you have Soft-Wrap enabled in the diff window? Is it what you need?
I have it enabled. But, it looks like a limit of testify when showing the differences... it's just not spitting out the complete string but cuts it off.