Skip to content

Commit

Permalink
fix wrong comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
Simulant87 committed Mar 23, 2024
1 parent 78151be commit 75a34a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/json/junit/JSONTokenerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public void testNextBackComboWithNewLines() {
assertEquals(" at index 8 [character number 0 in line 2]", tokener.toString());
tokener.skipTo('\r');
assertEquals("skipTo() improperly modifying indexes"," at index 14 [character number 6 in line 2]", tokener.toString());
// verify \r\n combo doesn't increment the in line twice
// verify \r\n combo doesn't increment the line twice
assertEquals('\r', tokener.next());
assertEquals(" at index 15 [character number 0 in line 3]", tokener.toString());
assertEquals('\n', tokener.next());
Expand Down

0 comments on commit 75a34a2

Please sign in to comment.