Edit comments for false assertions

pull/247/head
Blake Wilson 2015-12-02 09:53:45 -06:00
parent d797d25e0f
commit 0c260593d1
4 changed files with 4 additions and 4 deletions

View File

@ -460,7 +460,7 @@ func True(t TestingT, value bool, msgAndArgs ...interface{}) bool {
}
// False asserts that the specified value is true.
// False asserts that the specified value is false.
//
// assert.False(t, myBool, "myBool should be false")
//

View File

@ -119,7 +119,7 @@ func (a *Assertions) True(value bool, msgAndArgs ...interface{}) bool {
return True(a.t, value, msgAndArgs...)
}
// False asserts that the specified value is true.
// False asserts that the specified value is false.
//
// assert.False(myBool, "myBool should be false")
//

View File

@ -93,7 +93,7 @@ func (a *Assertions) True(value bool, msgAndArgs ...interface{}) {
True(a.t, value, msgAndArgs...)
}
// False asserts that the specified value is true.
// False asserts that the specified value is false.
//
// require.False(myBool, "myBool should be false")
func (a *Assertions) False(value bool, msgAndArgs ...interface{}) {

View File

@ -119,7 +119,7 @@ func True(t TestingT, value bool, msgAndArgs ...interface{}) {
}
}
// False asserts that the specified value is true.
// False asserts that the specified value is false.
//
// require.False(t, myBool, "myBool should be false")
func False(t TestingT, value bool, msgAndArgs ...interface{}) {