mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 16:30:01 +08:00
chore: use %q instead of %s for unmarshaling (#3163)
This commit is contained in:
@@ -778,7 +778,7 @@ func TestParseWithMissingForm(t *testing.T) {
|
||||
|
||||
err = httpx.Parse(r, &v)
|
||||
assert.NotNil(t, err)
|
||||
assert.Equal(t, "field zipcode is not set", err.Error())
|
||||
assert.Equal(t, `field "zipcode" is not set`, err.Error())
|
||||
}))
|
||||
assert.Nil(t, err)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user