Rename doctest::detail::Result res; in DOCTEST_ASSERT_IMPLEMENT #10

Closed
iboB opened this Issue May 25, 2016 · 0 comments

Projects

None yet

1 participant

@iboB
iboB commented May 25, 2016

doctest::detail::Result res; takes up the quite common symbol name res and makes a test like CHECK(res == x); impossible.

Please rename it to something which would be much more unlikely to clash like __doctest__res__

@onqtam onqtam added a commit that referenced this issue May 31, 2016
@onqtam fixed #10
also added an example using the parts of the doctest header (and fixed it to work)
dba4723
@onqtam onqtam added a commit that closed this issue Sep 21, 2016
@onqtam fixed #10
also added an example using the parts of the doctest header (and fixed it to work)
bc4b56c
@onqtam onqtam closed this in bc4b56c Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment