improve unit testing case for package internal/json

This commit is contained in:
John Guo
2021-05-15 23:21:38 +08:00
parent d12409b118
commit b2a15c259e

View File

@ -23,7 +23,6 @@ var (
Id: 1265476890672672808,
Name: "john",
}
userBytes, _ = json.Marshal(user)
)
func TestMarshal(t *testing.T) {