summaryrefslogtreecommitdiff
path: root/src/pkg/time/time_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-04 19:16:57 -0700
committerRuss Cox <rsc@golang.org>2009-08-04 19:16:57 -0700
commit1b34f64196e8248d8538f066934621d0bcaefb90 (patch)
treeb41f515214c0c18a8f2b8f1fa62ba93f4438430d /src/pkg/time/time_test.go
parent95ba3494d3e7b243be3f908ea37c211dd49f9933 (diff)
downloadgolang-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.go8
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);
}
}
}