(t *testing.T)
| 186 | } |
| 187 | |
| 188 | func TestDecodeEmpty(t *testing.T) { |
| 189 | in := `` |
| 190 | _, err := Store{}.treeBranchFromJSON([]byte(in)) |
| 191 | assert.NotNil(t, err) |
| 192 | assert.Equal(t, "EOF", err.Error()) |
| 193 | } |
| 194 | |
| 195 | func TestDecodeNestedJSONObject(t *testing.T) { |
| 196 | in := `{"foo": {"foo": "bar"}}` |
nothing calls this directly
no test coverage detected