[xpressive][test_cycles.cpp]regex_impl<...>::instances not reset

26 May
2007
26 May
'07
3:56 p.m.
In: http://boost.cvs.sourceforge.net/boost/boost/libs/xpressive/test/test_cycles... the regexp_impl<...>::instances variable is not reset to 0 between tests; so, if the first fails, the test will indicate that all fail, AFAICT.

26 May
26 May
6:54 p.m.
New subject: [xpressive][test_cycles.cpp]regex_impl<...>::instances not reset
Larry Evans wrote:
In:
http://boost.cvs.sourceforge.net/boost/boost/libs/xpressive/test/test_cycles...
the regexp_impl<...>::instances variable is not reset to 0 between tests; so, if the first fails, the test will indicate that all fail, AFAICT.
That's true, but the first test doesn't fail because my code is bug-free. Ahem. It seems a minor point, but I'll reset the counter to 0 between tests. Thanks. -- Eric Niebler Boost Consulting www.boost-consulting.com
6592
Age (days ago)
6592
Last active (days ago)
1 comments
2 participants
participants (2)
-
Eric Niebler
-
Larry Evans