X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02git_Repository.t;h=ae069eb8126dfac73472fe7054fe0cdfa3e5fe49;hb=0c3a1f2ba836df0e4eedadce5c2f7f2749ca5604;hp=d77dd23aeec810fe29074e76b23ae2a000dc1aad;hpb=8221d7e12a866ef9c26b6259900a0fcf32a4b528;p=catagits%2FGitalist.git diff --git a/t/02git_Repository.t b/t/02git_Repository.t index d77dd23..ae069eb 100644 --- a/t/02git_Repository.t +++ b/t/02git_Repository.t @@ -79,6 +79,8 @@ like($proj->head_hash('HEAD'), qr/^([0-9a-fA-F]{40})$/, 'head_hash'); isa_ok($tree[0], 'Gitalist::Git::Object', 'tree element 0'); } +$proj->{owner} = decode_utf8("T\x{c3}\x{a9}st") if $^O eq 'MSWin32'; + my $owner = $proj->owner; is_flagged_utf8($owner, "Owner name is flagged as utf8"); is_sane_utf8($owner, "Owner name is not double-encoded");