CompareJSONMaps compares two JSON objects (passed as maps).
(t *testing.T, wantMap, gotMap map[string]interface{})
| 26 | |
| 27 | // CompareJSONMaps compares two JSON objects (passed as maps). |
| 28 | func CompareJSONMaps(t *testing.T, wantMap, gotMap map[string]interface{}) bool { |
| 29 | return DiffJSONMaps(t, wantMap, gotMap, "", false) |
| 30 | } |
| 31 | |
| 32 | // EqualJSON compares two JSON objects for equality. |
| 33 | func EqualJSON(t *testing.T, want, got string, savepath string, quiet bool) bool { |