fix wrong comment update

This commit is contained in:
Simulant87 2024-03-23 22:05:51 +01:00 committed by GitHub
parent 78151beea2
commit 75a34a246f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -254,7 +254,7 @@ public class JSONTokenerTest {
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());