From 15aff29f35e9a60566cc995c2c8b7452a758c443 Mon Sep 17 00:00:00 2001 From: Pedro de Brito Date: Tue, 19 Feb 2019 09:56:14 +0100 Subject: [PATCH] docs: update Comparison function comment --- assert/assertions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assert/assertions.go b/assert/assertions.go index 596119ac8..7af9ad236 100644 --- a/assert/assertions.go +++ b/assert/assertions.go @@ -45,7 +45,7 @@ type BoolAssertionFunc func(TestingT, bool, ...interface{}) bool // for table driven tests. type ErrorAssertionFunc func(TestingT, error, ...interface{}) bool -// Comparison a custom function that returns true on success and false on failure +// Comparison is a custom function that returns true on success and false on failure type Comparison func() (success bool) /*