csaboka commented on pull request #74:
URL: https://github.com/apache/johnzon/pull/74#issuecomment-877601749


   Added some unit tests to validate that a parse exception is thrown when 
trying to traverse the stream and invalid JSON is encountered. I still can't 
figure out a good way to make the `KEY_NAME` check to fail. I could write a new 
subclass of JohnzonJsonParserImpl just to make it return unexpected values from 
`next()`, but that seems to be overkill for testing this edge case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@johnzon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to