diff options
Diffstat (limited to 'libgo/go/time/time_test.go')
-rw-r--r-- | libgo/go/time/time_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/time/time_test.go b/libgo/go/time/time_test.go index a925e98a838e..b7ebb3729671 100644 --- a/libgo/go/time/time_test.go +++ b/libgo/go/time/time_test.go @@ -22,7 +22,7 @@ import ( // the subsequent tests fail. func TestZoneData(t *testing.T) { lt := Now() - // PST is 8 hours west, PDT is 7 hours west. We could use the name but it's not unique. + // PST is 8 hours west, PDT is 7 hours west. We could use the name but it's not unique. if name, off := lt.Zone(); off != -8*60*60 && off != -7*60*60 { t.Errorf("Unable to find US Pacific time zone data for testing; time zone is %q offset %d", name, off) t.Error("Likely problem: the time zone files have not been installed.") @@ -533,7 +533,7 @@ var durationTests = []struct { str string d Duration }{ - {"0", 0}, + {"0s", 0}, {"1ns", 1 * Nanosecond}, {"1.1µs", 1100 * Nanosecond}, {"2.2ms", 2200 * Microsecond}, |