Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug in the GomockTestReporter

The variadic function arguments where passed as array instead of a
regular list of arguments. See http://golang.org/doc/effective_go.html#Printing
for more details.
  • Loading branch information...
commit 0f14a621cd0e46c39f7ba7b1caf55b0ad76ecd3f 1 parent 3b3585f
@FGrosse FGrosse authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 thirdparty/gomocktestreporter/gomock_test_reporter.go
View
4 thirdparty/gomocktestreporter/gomock_test_reporter.go
@@ -17,9 +17,9 @@ func New() GomockTestReporter {
}
func (g GomockTestReporter) Errorf(format string, args ...interface{}) {
- ginkgo.Fail(fmt.Sprintf(format, args), 3)
+ ginkgo.Fail(fmt.Sprintf(format, args...), 3)
}
func (g GomockTestReporter) Fatalf(format string, args ...interface{}) {
- ginkgo.Fail(fmt.Sprintf(format, args), 3)
+ ginkgo.Fail(fmt.Sprintf(format, args...), 3)
}
Please sign in to comment.
Something went wrong with that request. Please try again.