corrected the README documentation of suite package

pull/226/head
praveen shukla 2015-10-20 10:44:48 +05:30
parent f3960ab1f9
commit be704a5c57
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ func (suite *ExampleTestSuite) SetupTest() {
// All methods that begin with "Test" are run as tests within a // All methods that begin with "Test" are run as tests within a
// suite. // suite.
func (suite *ExampleTestSuite) TestExample() { 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 // In order for 'go test' to run this suite, we need to create