Skip to content

Commit 99a7b1b

Browse files
committed
test: nil loc -> nil location
1 parent 4c69e96 commit 99a7b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func TestCarbon_StdTime(t *testing.T) {
1212
assert.Equal(t, time.Time{}, NewCarbon().StdTime())
1313
})
1414

15-
t.Run("nil loc", func(t *testing.T) {
15+
t.Run("nil location", func(t *testing.T) {
1616
c := Parse("2020-08-05").SetTimezone(PRC)
1717
assert.Equal(t, "2020-08-05 08:00:00 +0800 CST", c.StdTime().String())
1818
c.loc = nil

0 commit comments

Comments
 (0)