improved error message

pull/21/merge
Mat Ryer 2013-08-02 16:09:48 -06:00
parent a48cc5dabb
commit ba887bba64
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ func NotPanics(t *testing.T, f PanicTestFunc, msgAndArgs ...interface{}) bool {
func NoError(t *testing.T, theError error, msgAndArgs ...interface{}) bool {
message := messageFromMsgAndArgs(msgAndArgs...)
return Nil(t, theError, "No error is expected but got %v. %s", theError, message)
return Nil(t, theError, "No error is expected but got %v %s", theError, message)
}