Index: trunk/Nebulous/t/64_client_find_objects.t
===================================================================
--- trunk/Nebulous/t/64_client_find_objects.t	(revision 16223)
+++ trunk/Nebulous/t/64_client_find_objects.t	(revision 16232)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 64_client_find_objects.t,v 1.1 2007-04-27 00:09:22 jhoblitt Exp $
+# $Id: 64_client_find_objects.t,v 1.2 2008-01-25 20:54:04 jhoblitt Exp $
 
 use strict;
@@ -10,5 +10,5 @@
 use Apache::Test qw( -withtestmore );
 
-plan tests => 6;
+plan tests => 7;
 
 use lib qw( ./t ./lib );
@@ -31,5 +31,6 @@
     my $keys = $neb->find_objects();
 
-    is($keys, undef, 'number of keys found');
+    # undef indicates an error
+    is($keys, undef, 'undef is an error');
 }
 
@@ -67,4 +68,17 @@
 Test::Nebulous->setup;
 
+{
+    # key does not exist
+    my $neb = Nebulous::Client->new(
+        proxy => "http://$hostport/nebulous",
+    );
+
+    my $keys = $neb->find_objects( "bar" );
+
+    is_deeply($keys, [], 'number of keys found');
+}
+
+Test::Nebulous->setup;
+
 eval {
     my $neb = Nebulous::Client->new(
