summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2005-07-05 19:10:19 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2005-07-05 19:10:19 +0000
commit68e28a16e08d031634dd655c84a04a1bc46a28e2 (patch)
treee2eb00ed27dcf4aa47f9f518910b06aafa33f839 /doc
parent9efb5318f845c9f5d90a8a5c3bc6cec6ea82cc60 (diff)
downloadcppunit-68e28a16e08d031634dd655c84a04a1bc46a28e2.tar.gz
fixed 'return wasSuccessful' instead of '!wasSuccessful.'
Diffstat (limited to 'doc')
-rw-r--r--doc/cookbook.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cookbook.dox b/doc/cookbook.dox
index 6ddd048..5ca21bb 100644
--- a/doc/cookbook.dox
+++ b/doc/cookbook.dox
@@ -504,7 +504,7 @@ int main( int argc, char **argv)
CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
runner.addTest( registry.makeTest() );
bool wasSuccessful = runner.run( "", false );
- return wasSuccessful;
+ return !wasSuccessful;
}
\endcode