added more complete second example

pull/62/head
dickeyxxx 2014-07-01 08:49:02 -07:00
parent 17a4bf61f0
commit 9eedabd0af
1 changed files with 8 additions and 1 deletions

View File

@ -68,9 +68,16 @@ func TestSomething(t *testing.T) {
if you assert many times, use the below:
```go
package yours
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestSomething(t *testing.T) {
assert := assert.New(t)
// assert equality
assert.Equal(123, 123, "they should be equal")