aboutsummaryrefslogtreecommitdiff
path: root/src/time/format_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/format_test.go')
-rw-r--r--src/time/format_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/time/format_test.go b/src/time/format_test.go
index aa4434a09c..219c2caee8 100644
--- a/src/time/format_test.go
+++ b/src/time/format_test.go
@@ -405,6 +405,7 @@ var parseTimeZoneTests = []ParseTimeZoneTest{
{"ESAST hi", 5, true},
{"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
}
func TestParseTimeZone(t *testing.T) {