(t *testing.T)
| 847 | } |
| 848 | |
| 849 | func TestInlineStructs(t *testing.T) { |
| 850 | a := TInlineStructs{} |
| 851 | b := XInlineStructs{} |
| 852 | testSameMarshal(t, &a, &b) |
| 853 | testCycle(t, &a, &b) |
| 854 | } |
| 855 | |
| 856 | // This tests that we behave the same way as encoding/json. |
| 857 | // That means that if there is more than one field that has the same name |
nothing calls this directly
no test coverage detected
searching dependent graphs…