aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXudong Zhang <zxdvd_zhang@163.com>2019-12-02 09:32:04 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2019-12-02 16:11:24 +0000
commit3edd1d8d993386098cd9e3603e65bbb588e0f52b (patch)
tree195d2d0b583661ad631dc7afa483058c3cca3519 /src
parent8054b13536fc71d6f8867f90d7614de4064191ba (diff)
downloadgo-3edd1d8d993386098cd9e3603e65bbb588e0f52b.tar.xz
time: fix comment in test
The commit de36d1 (CL 4635083) changed the test time from 2009 to 2010 but forgot to update the comment. Change-Id: Ia2928773dd184f168fddde126d0bb936de8cfc29 GitHub-Last-Rev: bf8eb57140dc531d1af449308b79c646d3b64d02 GitHub-Pull-Request: golang/go#35930 Reviewed-on: https://go-review.googlesource.com/c/go/+/209517 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/time/format_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/format_test.go b/src/time/format_test.go
index c08ff87d10..34990cdbc3 100644
--- a/src/time/format_test.go
+++ b/src/time/format_test.go
@@ -119,7 +119,7 @@ var formatTests = []FormatTest{
}
func TestFormat(t *testing.T) {
- // The numeric time represents Thu Feb 4 21:00:57.012345600 PST 2010
+ // The numeric time represents Thu Feb 4 21:00:57.012345600 PST 2009
time := Unix(0, 1233810057012345600)
for _, test := range formatTests {
result := time.Format(test.format)