Changeset 16232 for trunk/Nebulous/t/64_client_find_objects.t
- Timestamp:
- Jan 25, 2008, 10:54:04 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/64_client_find_objects.t (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/64_client_find_objects.t
r13048 r16232 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 64_client_find_objects.t,v 1. 1 2007-04-27 00:09:22jhoblitt Exp $5 # $Id: 64_client_find_objects.t,v 1.2 2008-01-25 20:54:04 jhoblitt Exp $ 6 6 7 7 use strict; … … 10 10 use Apache::Test qw( -withtestmore ); 11 11 12 plan tests => 6;12 plan tests => 7; 13 13 14 14 use lib qw( ./t ./lib ); … … 31 31 my $keys = $neb->find_objects(); 32 32 33 is($keys, undef, 'number of keys found'); 33 # undef indicates an error 34 is($keys, undef, 'undef is an error'); 34 35 } 35 36 … … 67 68 Test::Nebulous->setup; 68 69 70 { 71 # key does not exist 72 my $neb = Nebulous::Client->new( 73 proxy => "http://$hostport/nebulous", 74 ); 75 76 my $keys = $neb->find_objects( "bar" ); 77 78 is_deeply($keys, [], 'number of keys found'); 79 } 80 81 Test::Nebulous->setup; 82 69 83 eval { 70 84 my $neb = Nebulous::Client->new(
Note:
See TracChangeset
for help on using the changeset viewer.
