#fix: fix make fmt error

fix make fmt error
This commit is contained in:
Farmerx 2019-01-22 09:51:23 +08:00 committed by GitHub
parent fcbc7682ff
commit de6efd1326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -582,7 +582,8 @@ func TestContextPostFormMultipart(t *testing.T) {
dicts = c.PostFormMap("nokey")
assert.Equal(t, 0, len(dicts))
arrmap, ok := c.GetPostFormArrayMap("arraymap")
var arrmap []map[string]string
arrmap, ok = c.GetPostFormArrayMap("arraymap")
assert.True(t, ok)
assert.Equal(t, "c:/windows/system32/svchost.exe", arrmap[0]["process_path"])
assert.Equal(t, "c78655bc80301d76ed4fef1c1ea40a7d", arrmap[0]["process_md5"])