The documentation says it should be possible to handle the message after a test as a stream:
But when I try this:
BOOST_REQUIRE_MESSAGE( testSomething,"connected test failed between "<< a "->"<<b );
I get an Error:
c++ -DBOOST_TEST_DYN_LINK -I/opt/boost/boost157/include -std=c++0x -MMD -MT test.cpp.o -MF test
...
error: expected ')' before string constant
Aucun commentaire:
Enregistrer un commentaire