Skip to content

Commit f53afbe

Browse files
committed
[wsg] sort input test file list
1 parent 228f7a6 commit f53afbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

categories/wsg/beginner-2008/event003-unobe.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
=end pod
3737

3838
my $run-dir = $*PROGRAM_NAME.IO.dirname;
39-
my @files = dir($run-dir);
39+
my @files = dir($run-dir).sort;
4040
my $output = $run-dir ~ '/newfile.txt';
4141
$output.IO.unlink if $output.IO.e;
4242

t/categories/wsg/beginner-2008.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ subtest {
2525
my @authors = <unobe>;
2626
my $expected-output = q:to/EOD/;
2727
Dulce et decorum est...
28-
"There is no such thing on earth as an uninteresting subject; the only
29-
T
3028
"There have always been literate ignoramuses who have read too widely and not
3129
3
30+
"There is no such thing on earth as an uninteresting subject; the only
31+
T
3232
EOD
3333

3434
my $name = $problem ~ '-' ~ @authors[0] ~ '.pl';

0 commit comments

Comments
 (0)