Assertion library for golang!
To get the package, execute:
go get github.com/mockupcode/gunit To import this package, add the following line to your code:
import "github.com/mockupcode/gunit/assert"
And just start using it.
import (
"testing""github.com/mockupcode/gunit/assert"
)
funcTestAssertion(t*testing.T){
assert:=assert.GetAssertion(t)
assert.Equal("string","string")
}GUnit is a free software and may be used under the terms specified in the LICENSE file.