ProtoParserToolsTest.testReadString() fails if string length is zero
Open
Good First Issue
- Dominant language
- Java
- Stars
- 44
- Forks
- 15
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 12
Description
`ProtoParserToolsTest.testReadString()` generates a random string to test `ProtoParserTools.readString()`. Generated string length is random in interval [0, 100). This length is passed to `RandomString` utility class, which throws an exception, if the length is zero. The test should be corrected to not allow zero string lengths, and other tests that use `RandomString` should be inspected to have the same issue.
Contributor guide
Assessment
This issue has not been assessed yet.