@@ -346,11 +346,11 @@ /* Simulate a stream where we only get chunks */ len = strlen(str); for (j = 0; j < len; j+= 2) { - if ([parser finishedParsing]) + if ([parser hasFinishedParsing]) abort(); if (j + 2 > len) [parser parseBuffer: str + j length: 1]; @@ -360,11 +360,11 @@ } TEST(@"Checking if everything was parsed", i == 32 && [parser lineNumber] == 18) - TEST(@"-[finishedParsing]", [parser finishedParsing]) + TEST(@"-[hasFinishedParsing]", [parser hasFinishedParsing]) TEST(@"Parsing whitespaces after the document", R([parser parseString: @" \t\r\n "])) TEST(@"Parsing comments after the document",