[Bps-public-commit] r19633 - Net-Google-Code/trunk/t
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue May 12 04:44:24 EDT 2009
Author: sunnavy
Date: Tue May 12 04:44:24 2009
New Revision: 19633
Modified:
Net-Google-Code/trunk/t/03.comment.t
Log:
updated tests according to labels change
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 Tue May 12 04:44:24 2009
@@ -30,7 +30,7 @@
for my $item ( keys %info ) {
if ( defined $info{$item} ) {
- is ( $comment->$item, $info{$item}, "$item is extracted" );
+ is( $comment->$item, $info{$item}, "$item is extracted" );
}
else {
ok( !defined $comment->$item, "$item is not defined" );
@@ -40,10 +40,7 @@
my $updates = {
cc => 'thatan... at google.com',
status => 'Available',
- labels => {
- Mstone => { new_value => 'X' },
- Pri => { old_value => 2, new_value => 3 },
- },
+ labels => [ qw/-Pri-2 Mstone-X Pri-3/ ],
};
is_deeply( $updates, $comment->updates, 'updates are extracted' );
More information about the Bps-public-commit
mailing list