Skip to content

Commit

Permalink
Fixup s/assertion/Assertion post-merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
riannucci committed Apr 27, 2021
1 parent 677d5b6 commit c7f2782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion convey/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (ctx *context) So(actual interface{}, assert Assertion, expected ...interfa
}
}

func (ctx *context) SoMsg(msg string, actual interface{}, assert assertion, expected ...interface{}) {
func (ctx *context) SoMsg(msg string, actual interface{}, assert Assertion, expected ...interface{}) {
if result := assert(actual, expected...); result == assertionSuccess {
ctx.assertionReport(reporting.NewSuccessReport())
return
Expand Down
2 changes: 1 addition & 1 deletion convey/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func So(actual interface{}, assert Assertion, expected ...interface{}) {
}

// SoMsg is an extension of So that allows you to specify a message to report on error.
func SoMsg(msg string, actual interface{}, assert assertion, expected ...interface{}) {
func SoMsg(msg string, actual interface{}, assert Assertion, expected ...interface{}) {
mustGetCurrentContext().SoMsg(msg, actual, assert, expected...)
}

Expand Down

0 comments on commit c7f2782

Please sign in to comment.