Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 287 Bytes
package golang
import (
. "github.com/smartystreets/goconvey/convey"
"testing"
)
// go test -v -run TestExample
func TestExample(t *testing.T) {
Convey("Numbers", t, func() {
// Passing Test
Convey("Should add two numbers ", func() {
So(Sum(1, 1), ShouldEqual, 2)
})
})
}