Skip to content

Commit

Permalink
docs: update Comparison function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pdbrito authored and boyan-soubachov committed May 6, 2020
1 parent d76ac5e commit 15aff29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assert/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

/*
Expand Down

0 comments on commit 15aff29

Please sign in to comment.