]> Cypherpunks repositories - gostls13.git/commitdiff
time: fix grammar/spelling errors in test comment
authorKevin Burke <kev@inburke.com>
Mon, 21 Aug 2017 00:27:42 +0000 (17:27 -0700)
committerKevin Burke <kev@inburke.com>
Mon, 21 Aug 2017 17:52:45 +0000 (17:52 +0000)
Change-Id: I159bd1313e617c929008f6ac54ec7d702293360b
Reviewed-on: https://go-review.googlesource.com/57430
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/time/time_test.go

index 00ced4ba9b29fc4859d606698fa52915d6b836b7..fd464c0b18402d5cac529a4e053be540142b283e 100644 (file)
@@ -1203,8 +1203,8 @@ var defaultLocTests = []struct {
 }
 
 func TestDefaultLoc(t *testing.T) {
-       //This test verifyes that all Time's methods behaves identical if loc is set
-       //as nil or UTC
+       // Verify that all of Time's methods behave identically if loc is set to
+       // nil or UTC.
        for _, tt := range defaultLocTests {
                t1 := Time{}
                t2 := Time{}.UTC()