mirror of https://github.com/stretchr/testify.git
Edit comments for false assertions
parent
d797d25e0f
commit
0c260593d1
|
@ -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")
|
||||
//
|
||||
|
|
|
@ -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")
|
||||
//
|
||||
|
|
|
@ -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{}) {
|
||||
|
|
|
@ -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{}) {
|
||||
|
|
Loading…
Reference in New Issue