Skip to content

Commit ceb7e67

Browse files
committed
docs(internal/mock): 改进提示信息
1 parent 8abe9d4 commit ceb7e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/mock/mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (m *mock) parse() error {
130130
}
131131

132132
for path, methods := range m.mux.All(true, true) {
133-
m.msgHandler.Locale(core.Info, locale.LoadAPI, path, strings.Join(methods, ","))
133+
m.msgHandler.Locale(core.Info, locale.LoadAPI, "["+strings.Join(methods, ",")+"]", path)
134134
}
135135

136136
return nil

0 commit comments

Comments
 (0)