Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unfudge / fix lines slice test
  • Loading branch information
lizmat committed Sep 24, 2015
1 parent 485cfa4 commit fc8cdc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S16-io/lines.t
Expand Up @@ -55,9 +55,8 @@ for @endings -> (:key($eol), :value($EOL)) {
is $handle.lines[*-1], @text[*-1], "handle last line: $status";

# slicing on IO::Path
#?rakudo skip "Reading from filehandle failed: bad file descriptor"
is $filename.IO.lines(|$chomp)[1,2].join($end),
@text[1,2].join($end) ~ $end,
@text[1,2].map({ $_ ~ $end }).join($end),
"path 1,2: $status";

is $filename.IO.lines(|$chomp)[*-1],
Expand Down

0 comments on commit fc8cdc6

Please sign in to comment.