nullRaw wraps raw JSON bytes in a NullRawMessage for test input.
(data json.RawMessage)
| 1129 | |
| 1130 | // nullRaw wraps raw JSON bytes in a NullRawMessage for test input. |
| 1131 | func nullRaw(data json.RawMessage) pqtype.NullRawMessage { |
| 1132 | return pqtype.NullRawMessage{RawMessage: data, Valid: true} |
| 1133 | } |
| 1134 | |
| 1135 | func TestParseContent_BackwardCompat(t *testing.T) { |
| 1136 | t.Parallel() |
no outgoing calls
no test coverage detected