Fix typo ("PASS" -> "FAIL")

Fixes #669
pull/714/head
Tony Jiang 2018-09-17 22:48:24 -07:00 committed by George Lesica
parent 865fb2c8f5
commit 26d4a37fb4
1 changed files with 1 additions and 1 deletions

View File

@ -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() {