Skip to content

Commit

Permalink
Convert to IO paths as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed May 11, 2020
1 parent b560379 commit a011d15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/advent2010-day03.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ sub temp_name(Str $fnbase is copy) {
# Directories

my @roast-files = map {$_.relative}, dir;
my @roast-expected = <Makefile LICENSE README.md>;
my @roast-expected = <TODO LICENSE README.md>;
ok @roast-expected (<=) @roast-files, "dir"
or diag "missing: {@roast-expected (-) @roast-files}";

my @test-files = map *.relative.subst('\\', '/'), dir 't';
my @test-expected = <t/fudge.t t/fudgeandrun.t>;
my @test-files = (dir 't').map: *.relative ;
my @test-expected = (<fudge fudgeandrun>.map: { ("t/" ~ $_ ~ ".t").IO }).map: *.relative;
ok @test-expected (<=) @test-files, 'dir'
or diag "got: {@test-files} missing: {@test-expected (-) @test-files}";

Expand Down

0 comments on commit a011d15

Please sign in to comment.