X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=t%2Fbasic.t;h=1547c962cc1efa0305b690564bfb41aedc841140;hp=0289dc0708d660245199b4af6ac82a0446176c98;hb=df8e0ca6a336fb37fd14d40fa345e787bc75b8c2;hpb=4c17fea55a562db315a029e6bd67b7dbb028a8e9 diff --git a/t/basic.t b/t/basic.t index 0289dc0..1547c96 100644 --- a/t/basic.t +++ b/t/basic.t @@ -29,7 +29,7 @@ is($remote->call_callback(27, sub { $x++ }), 27, "Callback ok"); is($x, 1, "Callback called callback"); is( - $connection->get_remote_sub('Sys::Hostname::hostname')->(), + Sys::Hostname->can::on($connection, 'hostname')->(), hostname(), 'Remote sub call ok' );