Skip to content

Commit

Permalink
Fix a mistaken use of StringBuilder('#'). (#2052)
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnmcmanus authored Jan 12, 2022
1 parent 73216b2 commit 26e08fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ public void testUnterminatedStringFailure() throws IOException {
* Regression test for an issue with buffer filling and consumeNonExecutePrefix.
*/
public void testReadAcrossBuffers() throws IOException {
StringBuilder sb = new StringBuilder('#');
StringBuilder sb = new StringBuilder("#");
for (int i = 0; i < JsonReader.BUFFER_SIZE - 3; i++) {
sb.append(' ');
}
Expand Down

0 comments on commit 26e08fe

Please sign in to comment.