Skip to content

Commit 9d5ab7d

Browse files
Update tests/request_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8ac4bb2 commit 9d5ab7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/request_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestParseRequest(t *testing.T) {
4444
// Check if the parsed time matches the expected time (ignore the
4545
// date)
4646
if parsedTime.Hour() != test.expected.Hour() || parsedTime.Minute() != test.expected.Minute() {
47-
t.Errorf("Expected %v, got %v", test.expected, t)
47+
t.Errorf("Expected %v, got %v", test.expected, parsedTime)
4848
}
4949
// Check if the timezone matches the expected timezone
5050
if parsedTime.Location().String() != test.expected.Location().String() {

0 commit comments

Comments
 (0)