(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestTypeValue(t *testing.T) { |
| 12 | const s = "{A:{B:int64},C:int32}" |
| 13 | sctx := super.NewContext() |
| 14 | typ, err := sup.ParseType(sctx, s) |
| 15 | require.NoError(t, err) |
| 16 | tv := sctx.LookupTypeValue(typ) |
| 17 | require.Exactly(t, s, sup.FormatTypeValue(tv.Bytes())) |
| 18 | } |
| 19 | |
| 20 | func TestTypeValueCrossContext(t *testing.T) { |
| 21 | const s = "{A:{B:int64},C:int32}" |
nothing calls this directly
no test coverage detected