ObjFW  Diff

Differences From Artifact [542c5c5171]:

To Artifact [b0b9d9cd30]:


358
359
360
361
362
363
364



365

366



367
368
369
370
358
359
360
361
362
363
364
365
366
367

368
369
370
371
372
373
374
375
376







+
+
+
-
+

+
+
+




	    i == 32 && [parser lineNumber] == 18)

	TEST(@"-[finishedParsing]", [parser finishedParsing])

	TEST(@"Parsing whitespaces after the document",
	    R([parser parseString: @" \t\r\n "]))

	TEST(@"Parsing comments after the document",
	    R([parser parseString: @" \t<!-- foo -->\r<!--bar-->\n "]))

	EXPECT_EXCEPTION(@"Detection of junk after the document",
	EXPECT_EXCEPTION(@"Detection of junk after the document #1",
	    OFMalformedXMLException, [parser parseString: @"a"])

	EXPECT_EXCEPTION(@"Detection of junk after the document #2",
	    OFMalformedXMLException, [parser parseString: @"<!["])

	[pool drain];
}
@end