🧹 remove duplicate in test (#1404)

This commit is contained in:
alfuhigi 2021-06-24 13:29:48 +03:00 committed by GitHub
parent 93dc33ad89
commit 43876dad8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,7 +369,6 @@ func Test_Ctx_BodyParser(t *testing.T) {
testDecodeParser(MIMEApplicationJSON, `{"name":"john"}`)
testDecodeParser(MIMEApplicationXML, `<Demo><name>john</name></Demo>`)
testDecodeParser(MIMEApplicationJSON, `{"name":"john"}`)
testDecodeParser(MIMEApplicationForm, "name=john")
testDecodeParser(MIMEMultipartForm+`;boundary="b"`, "--b\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\njohn\r\n--b--")