From: Christian Walde Date: Sun, 29 May 2011 21:37:21 +0000 (+0200) Subject: Win32 does not have a proper owner for repos, so to keep the tests untouched, we... X-Git-Tag: 0.003005~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=0c3a1f2ba836df0e4eedadce5c2f7f2749ca5604 Win32 does not have a proper owner for repos, so to keep the tests untouched, we substitute the expected one --- 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");