X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fbasic.t;h=1547c962cc1efa0305b690564bfb41aedc841140;hb=befabdee3a3a75da8dd2fd21a2a6c80d8ed0bcff;hp=b5a83b7f6d6246dce10df358ccc9099f44a6a482;hpb=11dbd4a02cce95ee689233d2b1d2392470518732;p=scpubgit%2FObject-Remote.git 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' );