diff --git a/README.md b/README.md index 496b99f..57eda34 100644 --- a/README.md +++ b/README.md @@ -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")