Skip to content

CHECK_EQUAL no longer crashes if string pointers are NULL. #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2013
Merged

CHECK_EQUAL no longer crashes if string pointers are NULL. #25

merged 1 commit into from
Feb 3, 2013

Conversation

pjohnmeyer
Copy link
Member

This pull request closes #8. I took the test cases from Tom Barta's (tbarta) comment here:
http://sourceforge.net/tracker/?func=detail&aid=1844387&group_id=158151&atid=806684

However, I chose a slightly different method to modify the code to avoid multiple returns.

pjohnmeyer added a commit that referenced this pull request Feb 3, 2013
CHECK_EQUAL no longer crashes if string pointers are NULL. Closes #8.
@pjohnmeyer pjohnmeyer merged commit 0f5e457 into unittest-cpp:master Feb 3, 2013
pjohnmeyer added a commit that referenced this pull request Apr 4, 2015
CHECK_EQUAL no longer crashes if string pointers are NULL. Closes #8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CHECK_EQUAL() explodes if actual==NULL
1 participant