Skip to content

Commit f0203c9

Browse files
committed
Capitalise start parameter at start of error message
1 parent 1e4dd96 commit f0203c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assert/assertions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ func WithinRange(t TestingT, actual, start, end time.Time, msgAndArgs ...interfa
11181118
}
11191119

11201120
if end.Before(start) {
1121-
return Fail(t, "start should be before end", msgAndArgs...)
1121+
return Fail(t, "Start should be before end", msgAndArgs...)
11221122
}
11231123

11241124
if actual.Before(start) {

0 commit comments

Comments
 (0)