mirror of
https://github.com/stretchr/testify.git
synced 2025-07-08 11:38:52 +00:00
corrected the README documentation of suite package
This commit is contained in:
parent
f3960ab1f9
commit
be704a5c57
@ -212,7 +212,7 @@ func (suite *ExampleTestSuite) SetupTest() {
|
||||
// All methods that begin with "Test" are run as tests within a
|
||||
// suite.
|
||||
func (suite *ExampleTestSuite) TestExample() {
|
||||
assert.Equal(suite.T(), suite.VariableThatShouldStartAtFive, 5)
|
||||
assert.Equal(suite.T(), 5, suite.VariableThatShouldStartAtFive)
|
||||
}
|
||||
|
||||
// In order for 'go test' to run this suite, we need to create
|
||||
|
Loading…
x
Reference in New Issue
Block a user