IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 10, 2005, 11:30:32 AM (21 years ago)
Author:
jhoblitt
Message:

fix tests to work with Nebulous::Server->create_object() verifying class ids

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/t/03_server_create_object.t

    r5491 r5497  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 03_server_create_object.t,v 1.7 2005-11-09 01:33:09 jhoblitt Exp $
     5# $Id: 03_server_create_object.t,v 1.8 2005-11-10 21:30:32 jhoblitt Exp $
    66
    77use strict;
     
    8585    $neb->create_object( "foo", 99 );
    8686};
    87 like( $@, qr/Invalid class/, "class doesn't exist" );
     87like( $@, qr/did not pass the \'is valid class id\'/, "class doesn't exist" );
    8888
    8989Test::Nebulous->setup;
     
    9797
    9898eval {
    99     $neb->create_object( 1, 2, 3, 4, 5 );
     99    $neb->create_object( 1, 1, 1, 1, 1 );
    100100};
    101101like( $@, qr/2 - 4 were expected/, "too many params" );
Note: See TracChangeset for help on using the changeset viewer.