getInt64Array only diverges from getNullableInt64Array on null input
(t *testing.T)
| 252 | |
| 253 | // getInt64Array only diverges from getNullableInt64Array on null input |
| 254 | func TestRealFlexibleDecoderGetInt64Array(t *testing.T) { |
| 255 | t.Run("returns errInvalidArrayLength for null array", func(t *testing.T) { |
| 256 | rd := &realFlexibleDecoder{&realDecoder{raw: []byte{0x00}}} |
| 257 | got, err := rd.getInt64Array() |
| 258 | require.ErrorIs(t, err, errInvalidArrayLength) |
| 259 | assert.Nil(t, got) |
| 260 | }) |
| 261 | } |
nothing calls this directly
no test coverage detected