We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c69e96 commit 99a7b1bCopy full SHA for 99a7b1b
getter_test.go
@@ -12,7 +12,7 @@ func TestCarbon_StdTime(t *testing.T) {
12
assert.Equal(t, time.Time{}, NewCarbon().StdTime())
13
})
14
15
- t.Run("nil loc", func(t *testing.T) {
+ t.Run("nil location", func(t *testing.T) {
16
c := Parse("2020-08-05").SetTimezone(PRC)
17
assert.Equal(t, "2020-08-05 08:00:00 +0800 CST", c.StdTime().String())
18
c.loc = nil
0 commit comments