diff --git a/business/jxstore/event/print_test.go b/business/jxstore/event/print_test.go index 04d0b6c64..5acfa3037 100644 --- a/business/jxstore/event/print_test.go +++ b/business/jxstore/event/print_test.go @@ -8,6 +8,7 @@ import ( "strconv" "strings" "testing" + "unicode/utf8" ) func TestPrintMsg(t *testing.T) { @@ -15,7 +16,7 @@ func TestPrintMsg(t *testing.T) { msg := &model.PrintMsg{ ModelIDCULD: model.ModelIDCULD{}, PrintNo: "20220707000002", - Content: "64,64,66", + Content: "64,65,66", OrderNo: 202207261655, Status: 0, Comment: "", @@ -56,6 +57,7 @@ func TestCheckSum(t *testing.T) { fmt.Println("22222") } fmt.Println("==========", int16Sound) + fmt.Println("======2====", utf8.RuneCountInString("64,65,66")) } func TestTen216(t *testing.T) {