X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsender.t;h=02eb0d8cc29ec21acf649f08da78dfec5f984061;hb=a9fdb55e205b30cfca1cee5f61ab0f1107f750d1;hp=8916297452ebfda73214af34790fbc8192d51f62;hpb=542d5b5ca3990695be389d0d497883876c189486;p=scpubgit%2FObject-Remote.git diff --git a/t/sender.t b/t/sender.t index 8916297..02eb0d8 100644 --- a/t/sender.t +++ b/t/sender.t @@ -21,17 +21,17 @@ my $ml = Object::Remote->new( args => { module_sender => $ms }, ); -my $proxy = Object::Remote->new( +my $counter = Object::Remote->new( connection => $connection, class => 'ORTestClass' -)->proxy; +); -isnt($$, $proxy->pid, 'Different pid on the other side'); +isnt($$, $counter->pid, 'Different pid on the other side'); -is($proxy->counter, 0, 'Counter at 0'); +is($counter->counter, 0, 'Counter at 0'); -is($proxy->increment, 1, 'Increment to 1'); +is($counter->increment, 1, 'Increment to 1'); -is($proxy->counter, 1, 'Counter at 1'); +is($counter->counter, 1, 'Counter at 1'); done_testing;