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/13_server_rename_object.t

    r17072 r17717  
    33# Copryight (C) 2007  Joshua Hoblitt
    44#
    5 # $Id: 13_server_rename_object.t,v 1.4 2008-03-20 21:10:14 jhoblitt Exp $
     5# $Id: 13_server_rename_object.t,v 1.5 2008-05-16 20:29:19 jhoblitt Exp $
    66
    77use strict;
     
    2828    $neb->rename_object("foo", "bar");
    2929
    30     my $keys = $neb->find_objects('^foo$');
    31     is(scalar @$keys, 0, 'number of keys found');
    32     $keys = $neb->find_objects('^bar$');
     30    eval {
     31        $neb->find_objects('^foo$');
     32    };
     33    like($@, qr/no keys found/, "old key name");
     34
     35    my $keys = $neb->find_objects('^bar$');
    3336    is(scalar @$keys, 1, 'number of keys found');
    3437}
Note: See TracChangeset for help on using the changeset viewer.