Merge pull request #85 from dnephin/deprecate-testsum
testsum: deprecate package
diff --git a/assert/assert.go b/assert/assert.go
index 89b3133..c53c062 100644
--- a/assert/assert.go
+++ b/assert/assert.go
@@ -250,8 +250,12 @@
assert(t, t.FailNow, argsAfterT, cmp.Equal(x, y), msgAndArgs...)
}
-// DeepEqual uses https://github.com/google/go-cmp/cmp to assert two values
-// are equal and fails the test if they are not equal.
+// DeepEqual uses google/go-cmp (http://bit.do/go-cmp) to assert two values are
+// equal and fails the test if they are not equal.
+//
+// Package assert/opt (http://bit.do/t-assert-opt) provides some additional
+// commonly used Options.
+//
// This is equivalent to Assert(t, cmp.DeepEqual(x, y)).
func DeepEqual(t TestingT, x, y interface{}, opts ...gocmp.Option) {
if ht, ok := t.(helperT); ok {
diff --git a/assert/cmp/compare.go b/assert/cmp/compare.go
index 5eebba4..7d6bfcb 100644
--- a/assert/cmp/compare.go
+++ b/assert/cmp/compare.go
@@ -15,10 +15,12 @@
// Result will contain a message about why it failed.
type Comparison func() Result
-// DeepEqual compares two values using https://godoc.org/github.com/google/go-cmp/cmp
+// DeepEqual compares two values using google/go-cmp (http://bit.do/go-cmp)
// and succeeds if the values are equal.
//
// The comparison can be customized using comparison Options.
+// Package assert/opt (http://bit.do/t-assert-opt) provides some additional
+// commonly used Options.
func DeepEqual(x, y interface{}, opts ...cmp.Option) Comparison {
return func() (result Result) {
defer func() {