Browse Source

Merge pull request #22682 from hqhq/hq_update_check

Update go-check
Vincent Demeester 9 years ago
parent
commit
ec2b0c0889
2 changed files with 3 additions and 3 deletions
  1. 1 1
      hack/vendor.sh
  2. 2 2
      vendor/src/github.com/go-check/check/check.go

+ 1 - 1
hack/vendor.sh

@@ -11,7 +11,7 @@ clone git github.com/Microsoft/hcsshim v0.2.2
 clone git github.com/Microsoft/go-winio v0.3.0
 clone git github.com/Sirupsen/logrus v0.9.0 # logrus is a common dependency among multiple deps
 clone git github.com/docker/libtrust 9cbd2a1374f46905c68a4eb3694a130610adc62a
-clone git github.com/go-check/check a625211d932a2a643d0d17352095f03fb7774663 https://github.com/cpuguy83/check.git
+clone git github.com/go-check/check 03a4d9dcf2f92eae8e90ed42aa2656f63fdd0b14 https://github.com/cpuguy83/check.git
 clone git github.com/gorilla/context 14f550f51a
 clone git github.com/gorilla/mux e444e69cbd
 clone git github.com/kr/pty 5cf931ef8f

+ 2 - 2
vendor/src/github.com/go-check/check/check.go

@@ -681,7 +681,7 @@ func (runner *suiteRunner) runFunc(method *methodType, kind funcKind, testName s
 	select {
 	case <-c.done:
 	case <-timeout:
-		panic(fmt.Sprintf("test timed out after %v", runner.checkTimeout))
+		panic(fmt.Sprintf("%s test timed out after %v", method.String(), runner.checkTimeout))
 	}
 	return c
 }
@@ -825,7 +825,7 @@ func (runner *suiteRunner) runTest(method *methodType) *C {
 	select {
 	case <-c.done:
 	case <-timeout:
-		panic(fmt.Sprintf("test timed out after %v", runner.checkTimeout))
+		panic(fmt.Sprintf("%s test timed out after %v", method.String(), runner.checkTimeout))
 	}
 	return c
 }