Skip to content

Commit

Permalink
Capitalise start parameter at start of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
moolmanruan committed Jun 27, 2022
1 parent 1e4dd96 commit f0203c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assert/assertions.go
Expand Up @@ -1118,7 +1118,7 @@ func WithinRange(t TestingT, actual, start, end time.Time, msgAndArgs ...interfa
}

if end.Before(start) {
return Fail(t, "start should be before end", msgAndArgs...)
return Fail(t, "Start should be before end", msgAndArgs...)
}

if actual.Before(start) {
Expand Down

0 comments on commit f0203c9

Please sign in to comment.