You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The * operator should be used instead, but the above code compiles and runs, which causes confusion (for example, -tse=costly does nothing to the end-users).
The text was updated successfully, but these errors were encountered:
Which compiler are you using? The DOCTEST_TEST_CASE macro has a single argument and when I use GCC on my local linux box it properly errors about the extra argument from your example. I see from previous issues that you've been using MSVC - perhaps there is some warning?
And actually I could transition from the * operator to the comma , operator (with keeping backwards compatibility) - I just tried it and it worked! A problem are the TEST_CASE_TEMPLATE macros however, because the decorator part which would need to become a VARARG macro parameter isn't the last one but the first one... So in order to keep things consistent between TEST_CASE and TEST_CASE_TEMPLATE perhaps only operator* will be allowed...
Description
The
*
operator should be used instead, but the above code compiles and runs, which causes confusion (for example,-tse=costly
does nothing to the end-users).The text was updated successfully, but these errors were encountered: