[Cppunit-devel] error on document (HelperMacros.h) in 1.9.6
Brought to you by:
blep
From: FUKUDA F. <ff...@nt...> - 2002-06-11 05:56:45
|
Hi all. I found a mistake on the document. HelperMacros.h: line 199 * CPPUNIT_TEST_EXCEPTION( testVEctorAtThrow, std::invalid_argument); line 205 v.at( 1 ); // must throw exception std::invalid_argument ^^^^^^^^^^^^^^^^^ ^^^^ it should be 'std::out_of_range' rather than 'std::bad_argument' -----:-----:-----:-----:-----:-----:-----:-----:-----:----- FUKUDA (episteme) Fumiki -- magical, but never a magic... |