Skip to content

Commit 39552ed

Browse files
committed
style(service): gofmt sanitize_test.go alignment
The CJK test cases added in 2c64876 shifted the map literal's column alignment; gofmt -w restores it so the fast-gate gofmt check passes. Change-Id: I73bd21e9c60839a55f22bc186929570ba835dc13
1 parent 2c64876 commit 39552ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/service/sanitize_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ func TestSanitizeFieldDesc_TrimsDanglingPunctuation(t *testing.T) {
3939
// joiner then renders "…获取方式:." — so dangling punctuation must go too.
4040
cases := map[string]string{
4141
"待查询的消息ID。ID 获取方式:\n- 调用接口获取": "待查询的消息ID。ID 获取方式",
42-
"see the list below:\nitem": "see the list below",
43-
"逗号结尾,\n下一行": "逗号结尾",
42+
"see the list below:\nitem": "see the list below",
43+
"逗号结尾,\n下一行": "逗号结尾",
4444
}
4545
for in, want := range cases {
4646
if got := sanitizeFieldDesc(in); got != want {

0 commit comments

Comments
 (0)