(t *testing.T)
| 41 | } |
| 42 | |
| 43 | func TestCompareDecompressedDataMissingTarget(t *testing.T) { |
| 44 | source := map[string]map[string][]byte{ |
| 45 | "1": {"name": []byte("Leszek")}, |
| 46 | } |
| 47 | target := map[string]map[string][]byte{} |
| 48 | |
| 49 | result := compareDecompressedData(source, target) |
| 50 | |
| 51 | assert.Equal(t, map[string]InlineVerifierMismatches{"1": {Pk: "1", MismatchType: MismatchRowMissingOnTarget}}, result) |
| 52 | } |
| 53 | |
| 54 | func TestCompareDecompressedDataMissingSource(t *testing.T) { |
| 55 | source := map[string]map[string][]byte{} |
nothing calls this directly
no test coverage detected