diff --git a/pkg/common/db/controller/msg_test.go b/pkg/common/db/controller/msg_test.go index 6b69c3b99..d7cf3db86 100644 --- a/pkg/common/db/controller/msg_test.go +++ b/pkg/common/db/controller/msg_test.go @@ -74,7 +74,7 @@ func Test_BatchInsertChat2DB(t *testing.T) { }) for j, s := range arr { if j == 0 { - fmt.Sprintf("channnelID: %d, arr[0]: %d", channelID, arr[j]) + fmt.Printf("channnelID: %d, arr[0]: %s\n", channelID, arr[j]) } filter := bson.M{"doc_id": "test:0"} update := bson.M{