(t *testing.T)
| 771 | } |
| 772 | |
| 773 | func TestCaseSensitiveUnmarshalSimple(t *testing.T) { |
| 774 | base := Tint{} |
| 775 | ff := Xint{} |
| 776 | |
| 777 | err := json.Unmarshal([]byte(`{"x": 123213}`), &base) |
| 778 | if err != nil { |
| 779 | t.Fatalf("UnmarshalJSON: %v", err) |
| 780 | } |
| 781 | |
| 782 | err = json.Unmarshal([]byte(`{"x": 123213}`), &ff) |
| 783 | if err != nil { |
| 784 | t.Fatalf("UnmarshalJSON: %v", err) |
| 785 | } |
| 786 | require.EqualValues(t, base, ff, "json.Unmarshal of Record with mixed case JSON") |
| 787 | } |
| 788 | |
| 789 | func TestEmbedded(t *testing.T) { |
| 790 | a := TEmbeddedStructures{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…