diff options
author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2005-07-05 19:10:19 +0000 |
---|---|---|
committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2005-07-05 19:10:19 +0000 |
commit | 68e28a16e08d031634dd655c84a04a1bc46a28e2 (patch) | |
tree | e2eb00ed27dcf4aa47f9f518910b06aafa33f839 /doc | |
parent | 9efb5318f845c9f5d90a8a5c3bc6cec6ea82cc60 (diff) | |
download | cppunit-68e28a16e08d031634dd655c84a04a1bc46a28e2.tar.gz |
fixed 'return wasSuccessful' instead of '!wasSuccessful.'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cookbook.dox | 2 |
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 ®istry = CppUnit::TestFactoryRegistry::getRegistry(); runner.addTest( registry.makeTest() ); bool wasSuccessful = runner.run( "", false ); - return wasSuccessful; + return !wasSuccessful; } \endcode |