summaryrefslogtreecommitdiff
path: root/libgo/go/time/format_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/time/format_test.go')
-rw-r--r--libgo/go/time/format_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/time/format_test.go b/libgo/go/time/format_test.go
index d6cf6749a83..72dd5926436 100644
--- a/libgo/go/time/format_test.go
+++ b/libgo/go/time/format_test.go
@@ -429,6 +429,8 @@ var parseTimeZoneTests = []ParseTimeZoneTest{
{"ESASTT hi", 0, false}, // run of upper-case letters too long.
{"ESATY hi", 0, false}, // five letters must end in T.
{"WITA hi", 4, true}, // Issue #18251
+ {"+03 hi", 3, true}, // Issue #24071
+ {"-04 hi", 3, true}, // Issue #24071
}
func TestParseTimeZone(t *testing.T) {