chore: unnecessary use of fmt.Sprint

Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
pull/3227/head
guoguangwu 2023-10-13 17:04:26 +08:00
parent d80440f3d5
commit 4fb830e9c0
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ func TestStatsChannelConcurrency(t *testing.T) {
if ok {
errCh <- fmt.Sprint("unexpected receiving: ", v)
} else {
errCh <- fmt.Sprint("unexpected closing of channel")
errCh <- "unexpected closing of channel"
}
default:
}