X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02git_Repository.t;fp=t%2F02git_Repository.t;h=c8aae141b0e75bd3f2561db5f626fbb9e0ec213c;hb=b6e0be6c0a8f9e638f354a4c7d3f8af9c964253f;hp=ae069eb8126dfac73472fe7054fe0cdfa3e5fe49;hpb=1ff94f744944764df3f541f7caf739180e90e17b;p=catagits%2FGitalist.git diff --git a/t/02git_Repository.t b/t/02git_Repository.t index ae069eb..c8aae14 100644 --- a/t/02git_Repository.t +++ b/t/02git_Repository.t @@ -18,7 +18,7 @@ BEGIN { # Mocking to allow testing regardless of the user's locale require I18N::Langinfo if $^O ne 'MSWin32'; no warnings 'redefine'; - *I18N::Langinfo::langinfo = sub($) { + *I18N::Langinfo::langinfo = sub(_) { return "UTF-8" if $_[0] == I18N::Langinfo::CODESET(); }; *CORE::GLOBAL::getpwuid = sub {