去掉打印信息

This commit is contained in:
gouguoyin 2024-11-29 15:28:45 +08:00
parent 4b23c946bc
commit 0d846c9e3c
3 changed files with 0 additions and 5 deletions

View File

@ -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())
}

View File

@ -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()")
})
}

View File

@ -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()")
})
}