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=b5a83b7f6d6246dce10df358ccc9099f44a6a482;hb=ed5a8a8e0299184b24f57ab38dba1a392a9dc9ec;hpb=11dbd4a02cce95ee689233d2b1d2392470518732 diff --git a/t/basic.t b/t/basic.t index b5a83b7..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->remote_sub('Sys::Hostname::hostname')->(), + Sys::Hostname->can::on($connection, 'hostname')->(), hostname(), 'Remote sub call ok' );