Print missing FAIL during AssertExpectation

pull/549/merge
Ruben de Vries 2018-01-31 12:43:47 +01:00 committed by Ernesto Jiménez
parent 87b1dfb5b2
commit 5f831d47b7
1 changed files with 1 additions and 0 deletions

View File

@ -410,6 +410,7 @@ func (m *Mock) AssertExpectations(t TestingT) bool {
if expectedCall.Repeatability > 0 {
somethingMissing = true
failedExpectations++
t.Logf("FAIL:\t%s(%s)", expectedCall.Method, expectedCall.Arguments.String())
} else {
t.Logf("PASS:\t%s(%s)", expectedCall.Method, expectedCall.Arguments.String())
}