(t *testing.T)
| 267 | } |
| 268 | |
| 269 | func TestRevTreeUnmarshal(t *testing.T) { |
| 270 | const testJSON = `{ |
| 271 | "revs": ["3-three", "2-two", "1-one"], |
| 272 | "parents": [1, 2, -1], |
| 273 | "bodymap": {"0":"{\"foo\":\"bar\"}"} |
| 274 | }` |
| 275 | assertRevTreeUnmarshal(t, testJSON, testmap) |
| 276 | } |
| 277 | |
| 278 | func TestRevTreeUnmarshalRevChannelCountMismatch(t *testing.T) { |
| 279 | const testJSON = `{ |
nothing calls this directly
no test coverage detected