commit | ce6bda69189e9f4ff278a5e181691cd695f753ae | [log] [tgz] |
---|---|---|
author | Shenghou Ma <minux@golang.org> | Sun May 24 02:44:32 2015 -0400 |
committer | Adam Langley <agl@golang.org> | Tue May 26 16:42:54 2015 +0000 |
tree | 94e55442f723e2c977d344190f19b43c8a7fc38d | |
parent | 644910e6da851dcd66a424c71d068d971cfacba5 [diff] |
ocsp: fix test on TZ=UTC systems If the system is using UTC, then time.Now().loc != time.UTC().loc, so it should not use reflect.DeepEqual to compare two times. While we're here, also fix some copy-paste errors. Change-Id: I1fef5f22f5b5eb978746d2695a1b43f153e4a408 Reviewed-on: https://go-review.googlesource.com/10335 Reviewed-by: Adam Langley <agl@golang.org>