From 3bc3b652c194a57609d9b51ad864244273731a55 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 9 Mar 2020 09:00:38 +0800 Subject: [PATCH] improve unit testing case for gjson --- encoding/gjson/gjson_z_unit_basic_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding/gjson/gjson_z_unit_basic_test.go b/encoding/gjson/gjson_z_unit_basic_test.go index 014be9fd1..ed62b7c39 100644 --- a/encoding/gjson/gjson_z_unit_basic_test.go +++ b/encoding/gjson/gjson_z_unit_basic_test.go @@ -136,7 +136,7 @@ func Test_GetMap(t *testing.T) { gtest.Assert(err, nil) gtest.Assert(j.GetMap("n"), nil) gtest.Assert(j.GetMap("m"), g.Map{"k": "v"}) - gtest.Assert(j.GetMap("a"), nil) + gtest.Assert(j.GetMap("a"), g.Map{"1": "2", "3": nil}) }) }