chore: Use go-check fork.

This commit is contained in:
Fernandez Ludovic 2017-09-15 21:08:13 +02:00 committed by Traefiker
parent 3942f3366d
commit ce3b255f1a
7 changed files with 152 additions and 103 deletions

View file

@ -212,7 +212,7 @@ func (c *C) internalCheck(funcName string, obtained interface{}, checker Checker
// Do the actual check.
result, error := checker.Check(params, names)
if !result || error != "" {
if !result {
c.logCaller(2)
for i := 0; i != len(params); i++ {
c.logValue(names[i], params[i])