mirror of
https://gitee.com/dromara/carbon.git
synced 2024-11-29 18:57:37 +08:00
统一单元测试分组格式
This commit is contained in:
parent
2cc49f17a0
commit
cf154582fe
@ -1,9 +1,11 @@
|
||||
package carbon
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestCarbon_SetWeekStartsAt(t *testing.T) {
|
||||
@ -196,7 +198,8 @@ func TestCarbon_SetLocale(t *testing.T) {
|
||||
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
assert.Equalf(t, tt.want, tt.carbon.ToMonthString(PRC), "SetLocale()")
|
||||
fmt.Println("LLL", tt.carbon.Location())
|
||||
assert.Equalf(t, tt.want, tt.carbon.ToMonthString(), "SetLocale()")
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user