优化代码

This commit is contained in:
刘祥超
2023-08-08 12:02:21 +08:00
parent 8ac115f865
commit f4258ed00e
12 changed files with 26 additions and 19 deletions

View File

@@ -36,9 +36,6 @@ func TestMapToObject(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if obj == nil {
t.Fatal("obj should not be nil")
}
a.IsTrue(obj.B == 1024)
a.IsTrue(obj.C == true)
PrintT(obj, t)