fix issue in unit testing case for gparser

This commit is contained in:
John
2020-03-09 20:56:10 +08:00
parent 2fabcb62a8
commit 61f49574a9

View File

@ -95,7 +95,7 @@ func Test_GetVar(t *testing.T) {
gtest.Assert(j.GetVar("m").Map(), g.Map{"k": "v"})
gtest.Assert(j.GetVar("a").Interfaces(), g.Slice{1, 2, 3})
gtest.Assert(j.GetVar("a").Slice(), g.Slice{1, 2, 3})
gtest.Assert(j.GetVar("a").Array(), g.Slice{1, 2, 3})
gtest.Assert(j.GetMap("a"), g.Map{"1": "2", "3": nil})
})
}