Registry / testing / go-test-deep

go-test-deep

JSON →
library1.1.1gogounverified

Provides deep.Equal function that compares values like reflect.DeepEqual but returns a list of differences.

go get github.com/go-test/deep
INSTALL
IMPORT
SIG · GO-TEST-DEEP
G
go-test-deep
testinggov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

deep
github.com/go-test/deep

Compares two slices and prints differences.

package main import ( "fmt" "github.com/go-test/deep" ) func main() { a := []int{1, 2, 3} b := []int{1, 2, 4} diffs := deep.Equal(a, b) fmt.Println(diffs) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-test-deep — go get go-test-deep · libregistry