(t *testing.T, key string, codec codec.Codec, value interface{})
| 2017 | } |
| 2018 | |
| 2019 | func marshalKeyValuePair(t *testing.T, key string, codec codec.Codec, value interface{}) []byte { |
| 2020 | kvp := keyValuePair(t, key, codec, value) |
| 2021 | |
| 2022 | data, err := kvp.Marshal() |
| 2023 | require.NoError(t, err) |
| 2024 | return data |
| 2025 | } |
| 2026 | |
| 2027 | func getOrCreateData(in interface{}) *data { |
| 2028 | // Modify value that was passed as a parameter. |
no test coverage detected