Skip to content

Commit

Permalink
subunit: Sort diff output.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Jun 11, 2009
1 parent 9faaffa commit 2ffffcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selftest/Subunit/Diff.pm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ sub from_file($)

my $ret = new Subunit::Diff();
open(IN, $path) or return;
parse_results($ret, $statistics, IN);
parse_results($ret, $statistics, *IN);
close(IN);
return $ret;
}
Expand Down
2 changes: 1 addition & 1 deletion selftest/diff-subunit.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

my $ret = Subunit::Diff::diff($old, $new);

foreach my $e (keys %$ret) {
foreach my $e (sort(keys %$ret)) {
printf "%s: %s -> %s\n", $e, $ret->{$e}[0], $ret->{$e}[1];
}

Expand Down

0 comments on commit 2ffffcb

Please sign in to comment.