[Bps-public-commit] r17506 - in Net-Google-Code/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jan 1 00:59:29 EST 2009


Author: sunnavy
Date: Thu Jan  1 00:59:29 2009
New Revision: 17506

Modified:
   Net-Google-Code/trunk/   (props changed)
   Net-Google-Code/trunk/t/03.comment.t

Log:
 r18456 at sunnavys-mb:  sunnavy | 2009-01-01 13:58:15 +0800
 updated comments test: labels part has old value


Modified: Net-Google-Code/trunk/t/03.comment.t
==============================================================================
--- Net-Google-Code/trunk/t/03.comment.t	(original)
+++ Net-Google-Code/trunk/t/03.comment.t	Thu Jan  1 00:59:29 2009
@@ -42,7 +42,10 @@
 my $updates = {
     cc     => 'thatan... at google.com',
     status => 'Available',
-    labels => { Mstone => 'X' },
+    labels => {
+        Mstone => { new_value => 'X' },
+        Pri    => { old_value => 2,     new_value => 3 },
+    },
 };
 
 is_deeply( $updates, $comment->updates, 'updates are extracted' );
@@ -88,7 +91,7 @@
  <div class="round2"></div>
  <div class="round1"></div>
  <div class="box-inner">
- <b>Cc:</b> thatan... at google.com<br><b>Status:</b> Available<br><b>Labels:</b> Mstone-X<br>
+ <b>Cc:</b> thatan... at google.com<br><b>Status:</b> Available<br><b>Labels:</b>-Pri-2 Mstone-X Pri-3<br>
  </div>
  <div class="round1"></div>
  <div class="round2"></div>



More information about the Bps-public-commit mailing list