Skip to content

How should I test the change I add in JsonExceptionWriterHelpers? #1581

Answered by ashishdhingra
Anirudhrawat asked this question in Q&A
Discussion options

You must be logged in to vote

@Anirudhrawat I see that you have submitted PR #1584. The PR is assigned to @normj for review. The helper method is trying to escape strings properly in JSON format. May be you could write a unit test case that compares actual and expected output (per old logic) for different string escape sequences, when used with new logic!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Anirudhrawat
Comment options

@ashishdhingra
Comment options

Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants