mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 09:34:33 +08:00
#fix: fix make fmt error
fix make fmt error
This commit is contained in:
parent
fcbc7682ff
commit
de6efd1326
@ -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"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user