X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fbasic.t;fp=t%2Fbasic.t;h=1547c962cc1efa0305b690564bfb41aedc841140;hb=624b459bafc411773708e674cf54e1971eb4d231;hp=b5a83b7f6d6246dce10df358ccc9099f44a6a482;hpb=a2d43709dfa7abde4741638259cbc7cbfa90108c;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' );