Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Compare sorted output lists in event006
This allows us to better compare the output data, rather than simply the
ordering of the output data which doesn't matter in this case.
  • Loading branch information
Paul Cochrane committed May 7, 2015
1 parent ac07edd commit 228f7a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/categories/wsg/beginner-2008.t
Expand Up @@ -49,7 +49,11 @@ subtest {
Cappuccino: 18
EOD

check-example-solutions($problem, $expected-output.chomp, @authors)
for @authors -> $author {
my $name = "$problem-$author.pl";
my $output = run-example($name);
is($output.split(/\n/).sort, $expected-output.split(/\n/).sort, $name);
}
}, "event006";

subtest {
Expand Down

0 comments on commit 228f7a6

Please sign in to comment.