assert
assert copied to clipboard
Asserts to Go testing
Can you please add a license such as Apache 2, BSD, or MIT. Without a license we don't know the terms of the code for use in our own applications...
Just ran gofmt -w . on the project root. That's all. > https://blog.golang.org/go-fmt-your-code
Given two unequal structs from another package with unexported fields assert.Equal will panic. Example with time package ``` package asserttest import ( "github.com/bmizerany/assert" "testing" "time" ) func TestBreakAssert(t *testing.T) {...
I thing official support assert is must-have feature