mirror of
https://gitee.com/dromara/carbon.git
synced 2024-11-29 18:57:37 +08:00
去掉打印信息
This commit is contained in:
parent
4b23c946bc
commit
0d846c9e3c
@ -931,7 +931,6 @@ func TestCarbon_Issue243(t *testing.T) {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Println("defaultTimezone", defaultTimezone)
|
||||
assert.Equal(t, "PRC", project.StartDate.Location())
|
||||
assert.Equal(t, "PRC", project.EndDate.Location())
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package carbon
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
@ -224,7 +223,6 @@ func TestCarbon_Issue206(t *testing.T) {
|
||||
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
fmt.Println("err", tt.carbon.Error)
|
||||
assert.Equalf(t, tt.want, tt.carbon.ToString(PRC), "Parse()")
|
||||
})
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package carbon
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@ -198,7 +197,6 @@ func TestCarbon_SetLocale(t *testing.T) {
|
||||
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
fmt.Println("LLL", tt.carbon.Location())
|
||||
assert.Equalf(t, tt.want, tt.carbon.ToMonthString(), "SetLocale()")
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user