Skip to content

Commit 2f92ecc

Browse files
committed
Fix encoding test
1 parent ff24aaa commit 2f92ecc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

t/encoding.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ use Test::utf8;
77

88
my $git = Git::PurePerl->new( directory => "test-encoding" );
99

10-
for ([$git->master, "utf-8", $git->master->parent, "iso-8859-1"]) {
10+
for (
11+
[$git->master, "utf-8"],
12+
[$git->master->parent, "iso-8859-1"],
13+
) {
1114
my ($commit, $encoding) = @{$_};
1215
is( $commit->encoding, $encoding );
1316
for my $role (qw(author committer)) {

0 commit comments

Comments
 (0)