You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the default output of the .Diff() function but would love more lines of context around the differences. After looking through different examples, I can't figure out how to do this. Digging into the code of cmp, it looks like the context is hardcoded to 2
I like the default output of the
.Diff()
function but would love more lines of context around the differences. After looking through different examples, I can't figure out how to do this. Digging into the code ofcmp
, it looks like the context is hardcoded to2
go-cmp/cmp/report_compare.go
Line 13 in c3ad843
Is there a way to override this value?
The text was updated successfully, but these errors were encountered: