github.com/google/go-cmp/cmp.diffStats.NumDiff (method)
7 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L292: if ds.NumDiff() == 0 {
report_compare.go#L335: for _, r := range recs[:ds.NumDiff()] {
report_compare.go#L363: recs = recs[ds.NumDiff():]
report_compare.go#L364: numDiffs += ds.NumDiff()
report_slices.go#L358: if ds.NumDiff() == 0 {
report_slices.go#L433: if len(groups) >= 2 && ds.NumDiff() > 0 {
report_text.go#L379: func (s diffStats) NumDiff() int {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |