Author: paultcochrane
Date: Fri Mar 30 14:35:53 2007
New Revision: 17870

Modified:
   trunk/t/codingstd/c_parens.t

Log:
[t] Added more informative output as to the test being run when tests pass


Modified: trunk/t/codingstd/c_parens.t
==============================================================================
--- trunk/t/codingstd/c_parens.t        (original)
+++ trunk/t/codingstd/c_parens.t        Fri Mar 30 14:35:53 2007
@@ -82,19 +82,19 @@
     }
 
 ## L<PDD07/Code Formatting/"there should be at least one space between a C 
keyword and any subsequent open parenthesis">
-    ok( !scalar(@keyword_paren) )
+    ok( !scalar(@keyword_paren), 'Spacing between C keyword and following open 
parenthesis'  )
         or diag( "incorrect spacing between C keyword and following open 
parenthesis found in "
             . scalar @keyword_paren
             . " files:[EMAIL PROTECTED]" );
 
 ## L<PDD07/Code Formatting/"There should be no space between a function name 
and the following open parenthesis">
-    ok( !scalar(@non_keyword_paren) )
+    ok( !scalar(@non_keyword_paren), 'Spacing between function name and 
following open parethesis' )
         or diag( "incorrect spacing between function name and following open 
parenthesis found in "
             . scalar @non_keyword_paren
             . " files:[EMAIL PROTECTED]" );
 
 ## L<PDD07/Code Formatting/"parentheses should not have space immediately 
after the opening parenthesis nor immediately before the closing parenthesis">
-    ok( !scalar(@space_between_parens) )
+    ok( !scalar(@space_between_parens), 'Spacing between parentheses' )
         or diag( "incorrect spacing between parentheses found in "
             . scalar @space_between_parens
             . " files:[EMAIL PROTECTED]" );

Reply via email to