Changeset 24644 for trunk/Nebulous/t
- Timestamp:
- Jul 2, 2009, 2:18:56 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/63_client_stat.t (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/63_client_stat.t
r13203 r24644 10 10 use Apache::Test qw( -withtestmore ); 11 11 12 plan tests => 1 2;12 plan tests => 13; 13 13 14 14 use lib qw( ./t ./lib ); … … 30 30 my $info = $neb->stat( "foo" ); 31 31 32 is( scalar @$info, 7, "number of columns" );32 is( scalar @$info, 8, "number of columns" ); 33 33 } 34 34 … … 43 43 my $info = $neb->stat( "foo" ); 44 44 45 is( scalar @$info, 7, "number of columns" );45 is( scalar @$info, 8, "number of columns" ); 46 46 is( @$info[0], 1, "so_id" ); 47 47 is( @$info[1], "foo", "ext_id" ); … … 50 50 like( @$info[4], qr/....-..-.. ..:..:../, "epoch" ); 51 51 like( @$info[5], qr/....-..-.. ..:..:../, "mtime" ); 52 is( @$info[6], 1, "instances" ); 52 is( @$info[6], 1, "available instances" ); 53 is( @$info[7], 1, "total instances" ); 53 54 } 54 55
Note:
See TracChangeset
for help on using the changeset viewer.
