Skip to content

Commit

Permalink
tests fixed for perl <= 5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-mixas committed Oct 10, 2019
1 parent 13cf589 commit ca7a422
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/_common.pm
Expand Up @@ -41,7 +41,7 @@ sub run_batch_test_diff {
return;
}

subtest "Diff " . $t->{name} => sub {
subtest "Diff $t->{name}", sub {
is_deeply($diff, $st->{diff}, "Diff: $st->{name}") ||
diag scmp($diff, $st->{diff});

Expand Down Expand Up @@ -76,7 +76,7 @@ sub run_batch_test_patch {
return;
}

subtest "Patch " . $st->{name} => sub {
subtest "Patch $st->{name}", sub {
is_deeply($st->{a}, $st->{b}, "Patch: $st->{name}") ||
diag scmp($st->{a}, $st->{b});

Expand All @@ -92,7 +92,7 @@ sub run_batch_test_valid {

my $diff = clone($t->{diff});

subtest "Valid " . $t->{name} => sub {
subtest "Valid $t->{name}", sub {
ok(valid_diff($diff));

is_deeply($diff, $t->{diff}, "Valid: diff mangled: $t->{name}") ||
Expand Down

0 comments on commit ca7a422

Please sign in to comment.