3 // // Ensure that cmp.Diff will detect errors as required.
4 // func TestPendingRequestsDiff(t *testing.T) {
5 // var a, b pendingRequests
7 // diff := func() string { return cmp.Diff(a.m, b.m) }
8 // c.Check(diff(), qt.ContentEquals, "")
10 // b.m = []int{1, 2, 3}
11 // c.Check(diff(), qt.Not(qt.Equals), "")