(t *testing.T, v any)
| 1920 | } |
| 1921 | |
| 1922 | func mustJSON(t *testing.T, v any) json.RawMessage { |
| 1923 | t.Helper() |
| 1924 | data, err := json.Marshal(v) |
| 1925 | require.NoError(t, err) |
| 1926 | return data |
| 1927 | } |
| 1928 | |
| 1929 | func mustMarshalContent(t *testing.T, content []fantasy.Content) pqtype.NullRawMessage { |
| 1930 | t.Helper() |
no test coverage detected