IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 16, 2008, 10:29:19 AM (18 years ago)
Author:
jhoblitt
Message:

test updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/12_server_find_objects.t

    r17072 r17717  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 12_server_find_objects.t,v 1.3 2008-03-20 21:10:14 jhoblitt Exp $
     5# $Id: 12_server_find_objects.t,v 1.4 2008-05-16 20:29:19 jhoblitt Exp $
    66
    77use strict;
     
    2424
    2525# search for a regex of '' should match nothing
    26 {
     26eval {
    2727    # key
    2828    my $uri = $neb->create_object("foo");
    2929
    3030    my $keys = $neb->find_objects();
    31 
    32     is(scalar @$keys, 0, 'number of keys found');
    33 }
     31};
     32like($@, qr/no keys found/, "no keys found");
    3433
    3534Test::Nebulous->setup;
Note: See TracChangeset for help on using the changeset viewer.