Skip to content

Commit

Permalink
Fix typo ("PASS" -> "FAIL")
Browse files Browse the repository at this point in the history
Fixes #669
  • Loading branch information
xtonyjiang authored and georgelesica-wf committed Jan 3, 2019
1 parent 865fb2c commit 26d4a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock/mock.go
Expand Up @@ -691,7 +691,7 @@ func (args Arguments) Diff(objects []interface{}) (string, int) {
output = fmt.Sprintf("%s\t%d: PASS: %s matched by %s\n", output, i, actualFmt, matcher)
} else {
differences++
output = fmt.Sprintf("%s\t%d: PASS: %s not matched by %s\n", output, i, actualFmt, matcher)
output = fmt.Sprintf("%s\t%d: FAIL: %s not matched by %s\n", output, i, actualFmt, matcher)
}
} else if reflect.TypeOf(expected) == reflect.TypeOf((*AnythingOfTypeArgument)(nil)).Elem() {

Expand Down

0 comments on commit 26d4a37

Please sign in to comment.