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 ccb4a9b commit 78151be
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 @@ -259,7 +259,7 @@ public void testNextBackComboWithNewLines() {
assertEquals(" at index 15 [character number 0 in line 3]", tokener.toString());
assertEquals('\n', tokener.next());
assertEquals(" at index 16 [character number 0 in line 3]", tokener.toString());
// verify stepping back after reading the \n of an \r\n combo doesn't increment the in line incorrectly
// verify stepping back after reading the \n of an \r\n combo doesn't increment the line incorrectly
tokener.back();
assertEquals(" at index 15 [character number 6 in line 2]", tokener.toString());
assertEquals('\n', tokener.next());
Expand Down

0 comments on commit 78151be

Please sign in to comment.