[Jifty-commit] r5249 - in jifty/trunk: t

Jifty commits jifty-commit at lists.jifty.org
Mon Mar 31 21:03:41 EDT 2008


Author: alexmv
Date: Mon Mar 31 21:03:41 2008
New Revision: 5249

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/t/06-forms.t

Log:
 r28947 at kohr-ah:  chmrr | 2008-03-31 21:03:36 -0400
  * Update test for the new world order where empty labels are not output


Modified: jifty/trunk/t/06-forms.t
==============================================================================
--- jifty/trunk/t/06-forms.t	(original)
+++ jifty/trunk/t/06-forms.t	Mon Mar 31 21:03:41 2008
@@ -104,13 +104,13 @@
     is $out, qq{<span class="preamble text blah argument-agentz">}.
         qq{preamble's here!</span>\n};
 
-    # Test empty labels:
+    # Test empty labels are not output
     $field->name('yichun');
     $field->label('');
     $field->class('');
     $out = '';
     $field->render_label;
-    is $out, qq{<label class="label text  argument-yichun" for="search_keys-32"></label>\n};
+    is $out, qq{};
 
     # Test default labels:
     $field->name('yichun');


More information about the Jifty-commit mailing list