Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove paranoid test
  • Loading branch information
lizmat committed Oct 24, 2015
1 parent 25daf16 commit 837d940
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions S16-io/words.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 2 + 4 + 4;
plan 1 + 4 + 4;

my $filename = 't/spec/S16-io/words.testing';
my @text = <<zero " one" " two " " three " "four\n">>;
Expand All @@ -11,10 +11,6 @@ unlink $filename; # make sure spurt will work

ok $filename.IO.spurt(@text), "could we spurt a file";

throws-like { open($filename).words }, X::NYI,
feature => "'words' without closing the file handle",
;

# IO::Handle
my @words;
for open($filename).words(:close) -> $word {
Expand Down

0 comments on commit 837d940

Please sign in to comment.