(t *testing.T)
| 18 | } |
| 19 | |
| 20 | func TestTypeValueCrossContext(t *testing.T) { |
| 21 | const s = "{A:{B:int64},C:int32}" |
| 22 | sctx := super.NewContext() |
| 23 | typ, err := sup.ParseType(sctx, s) |
| 24 | require.NoError(t, err) |
| 25 | other := super.NewContext() |
| 26 | otherType, err := other.TranslateType(typ) |
| 27 | require.NoError(t, err) |
| 28 | tv := other.LookupTypeValue(otherType) |
| 29 | require.Exactly(t, s, sup.FormatTypeValue(tv.Bytes())) |
| 30 | } |
nothing calls this directly
no test coverage detected