github.com/google/go-cmp/cmp/internal/diff.Result.Equal (method)
12 uses
github.com/google/go-cmp/cmp/internal/diff (current package)
diff.go#L110: func (r Result) Equal() bool { return r.NumDiff == 0 }
diff.go#L241: case f(p.X, p.Y).Equal():
diff.go#L247: if !f(fwdPath.X, fwdPath.Y).Equal() {
diff.go#L279: case f(p.X-1, p.Y-1).Equal():
diff.go#L285: if !f(revPath.X-1, revPath.Y-1).Equal() {
diff.go#L329: case r.Equal():
diff.go#L349: case r.Equal():
github.com/google/go-cmp/cmp
compare.go#L95: return s.result.Equal()
compare.go#L120: if s.result.Equal() {
compare.go#L130: if (d == "") != s.result.Equal() {
compare.go#L334: if step.vx, step.vy = got, want; !s.statelessCompare(step).Equal() {
compare.go#L337: if step.vx, step.vy = want, want; !s.statelessCompare(step).Equal() {
![]() |
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. |