Skip to content

Commit

Permalink
nullcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Dec 11, 2023
1 parent 019384b commit daa7bd9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,7 @@ void testBlankAtBeginning(String ws) throws XmlPullParserException, IOException
parser.setInput(new StringReader(ws + xml));
assertEquals(XmlPullParser.IGNORABLE_WHITESPACE, parser.nextToken());
message = assertThrows(XmlPullParserException.class, parser::nextToken).getMessage();
assertNotNull(message);
assertTrue(message.contains("processing instruction can not have PITarget with reserved xml name"), message);
}
}

0 comments on commit daa7bd9

Please sign in to comment.