test internals #7

Merged
xdrm-brackets merged 9 commits from test/internal into 0.2.0 2019-11-21 21:31:25 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 52b42e479a - Show all commits

View File

@ -40,7 +40,7 @@ func (methodDef *Method) checkAndFormat(servicePath string, httpMethod string) e
// 3.2.1. Same rename field
if pData.Rename == param.Rename {
return ErrParamNameConflict.WrapString(httpMethod + " " + servicePath + " {" + pData.Rename + "}")
return ErrParamNameConflict.WrapString(httpMethod + " " + servicePath + " {" + pName + "}")
}
// 3.2.2. Not-renamed field matches a renamed field