cockroachdb / cockroachdb/cockroach

json: add testing for decoding and formatting error paths

Open
#119,604 0 comments 0 reactions 0 assignees View on GitHub
A-sql-json A-testing C-enhancement T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

While writing https://github.com/cockroachdb/cockroach/pull/119564, we noticed that the `pkg/util/json` package was lacking testing of error paths during decoding and formatting of `jsonEncoded` (and maybe more). We should fix that.

Jira issue: CRDB-36240

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.