- Go语言QQ群: 102319854, 1055927514
- 凹语言(凹读音“Wa”)(The Wa Programming Language): https://github.com/wa-lang/wa
go get -u github.com/chai2010/assert
go test
package somepkg_test
import (
. "github.com/chai2010/assert"
)
func TestAssert(t *testing.T) {
Assert(t, 1 == 1)
Assert(t, 1 == 1, "message1", "message2")
}
func TestAssertf(t *testing.T) {
Assertf(t, 1 == 1, "%v:%v", "message1", "message2")
}
Report bugs to chaishushan@gmail.com.
Thanks!