aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2020-09-21 18:18:29 +0200
committerAbigail <abigail@abigail.be>2020-09-21 18:28:18 +0200
commit172977c36c3012b79d1710cff34da2219a0f67a7 (patch)
treee90040216450022f63b4e0caf194693f1053585a
parent1da0d24d7d9480bb239b1a5584d1f14460627f44 (diff)
downloadperlweeklychallenge-club-172977c36c3012b79d1710cff34da2219a0f67a7.tar.gz
perlweeklychallenge-club-172977c36c3012b79d1710cff34da2219a0f67a7.tar.bz2
perlweeklychallenge-club-172977c36c3012b79d1710cff34da2219a0f67a7.zip
Ignore trailing whitespace.
-rwxr-xr-xchallenge-079/abigail/test.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/challenge-079/abigail/test.pl b/challenge-079/abigail/test.pl
index 578f69cc61..222475a99b 100755
--- a/challenge-079/abigail/test.pl
+++ b/challenge-079/abigail/test.pl
@@ -35,6 +35,7 @@ foreach my $challenge (1, 2) {
my $output_exp = ($input =~ s/input/output/r) . ".exp";
my $exp = `cat $output_exp`;
my $got = `$exe ./$solution < $input`;
+ s/\h+$//gm for $exp, $got;
is $got, $exp, $input;
}
}