• Russ Cox's avatar
    encoding/asn1: fix test on OpenBSD · e812db35
    Russ Cox authored
    time.Parse uses time.Local if it has the right zone offset,
    otherwise it calls time.FixedZone.  The test's use of reflect.DeepEqual
    meant that the test expected time.FixedZone always, failing
    when the local time zone really would have used -0700 for
    that time.  The fix is to format the time to display only the
    pieces we intend to test.
    
    R=golang-dev, agl, iant
    CC=golang-dev
    https://golang.org/cl/5437088
    e812db35
Name
Last commit
Last update
..
ascii85 Loading commit data...
asn1 Loading commit data...
base32 Loading commit data...
base64 Loading commit data...
binary Loading commit data...
csv Loading commit data...
git85 Loading commit data...
gob Loading commit data...
hex Loading commit data...
json Loading commit data...
pem Loading commit data...
xml Loading commit data...