Author: kn
Date: Wed Feb  6 13:05:42 2008
New Revision: 7303

Log:
- Correctly fail, thanks sb for the pointer.

Modified:
    trunk/UnitTest/src/test/case.php

Modified: trunk/UnitTest/src/test/case.php
==============================================================================
--- trunk/UnitTest/src/test/case.php [iso-8859-1] (original)
+++ trunk/UnitTest/src/test/case.php [iso-8859-1] Wed Feb  6 13:05:42 2008
@@ -136,12 +136,13 @@
             try
             {
                 $object->$propertyName = $value;
-                $this->fail( "Setting property $propertyName to $value did not 
fail." );
             }
             catch ( Exception $e )
             {
                 continue;
             }
+
+            $this->fail( "Setting property $propertyName to $value did not 
fail." );
         }
     }
 }


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to