mirror of
https://github.com/golang/go.git
synced 2025-05-30 11:51:34 +00:00
time: fix grammar/spelling errors in test comment
Change-Id: I159bd1313e617c929008f6ac54ec7d702293360b Reviewed-on: https://go-review.googlesource.com/57430 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
9bf521b2b4
commit
3dd1b0d07c
@ -1203,8 +1203,8 @@ var defaultLocTests = []struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDefaultLoc(t *testing.T) {
|
func TestDefaultLoc(t *testing.T) {
|
||||||
//This test verifyes that all Time's methods behaves identical if loc is set
|
// Verify that all of Time's methods behave identically if loc is set to
|
||||||
//as nil or UTC
|
// nil or UTC.
|
||||||
for _, tt := range defaultLocTests {
|
for _, tt := range defaultLocTests {
|
||||||
t1 := Time{}
|
t1 := Time{}
|
||||||
t2 := Time{}.UTC()
|
t2 := Time{}.UTC()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user