diff options
author | Russ Cox <rsc@golang.org> | 2009-08-04 19:16:57 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-08-04 19:16:57 -0700 |
commit | 1b34f64196e8248d8538f066934621d0bcaefb90 (patch) | |
tree | b41f515214c0c18a8f2b8f1fa62ba93f4438430d /src/pkg/time/time_test.go | |
parent | 95ba3494d3e7b243be3f908ea37c211dd49f9933 (diff) | |
download | golang-1b34f64196e8248d8538f066934621d0bcaefb90.tar.gz |
get function calls out of the way before
allocating registers in shift and div.
fix behavior when res == a reserved register.
R=ken
OCL=32765
CL=32767
Diffstat (limited to 'src/pkg/time/time_test.go')
-rw-r--r-- | src/pkg/time/time_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/time/time_test.go b/src/pkg/time/time_test.go index 41e6736e8..2457d8561 100644 --- a/src/pkg/time/time_test.go +++ b/src/pkg/time/time_test.go @@ -60,8 +60,8 @@ func TestSecondsToUTC(t *testing.T) { } if !same(tm, golden) { t.Errorf("SecondsToUTC(%d):", sec); - t.Errorf(" want=%v", *golden); - t.Errorf(" have=%v", *tm); + t.Errorf(" want=%+v", *golden); + t.Errorf(" have=%+v", *tm); } } } @@ -77,8 +77,8 @@ func TestSecondsToLocalTime(t *testing.T) { } if !same(tm, golden) { t.Errorf("SecondsToLocalTime(%d):", sec); - t.Errorf(" want=%v", *golden); - t.Errorf(" have=%v", *tm); + t.Errorf(" want=%+v", *golden); + t.Errorf(" have=%+v", *tm); } } } |