Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use new feature in test
  • Loading branch information
kraih committed Nov 17, 2013
1 parent c07f904 commit 39a4579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojo/bytestream.t
Expand Up @@ -138,7 +138,7 @@ is $buffer, "test\n123\n", 'right output';
my $file = catfile splitdir($FindBin::Bin), qw(templates exception.mt);
$stream = b($file)->slurp;
is $stream, "test\n% die;\n123\n", 'right content';
$stream = b($file)->slurp->split("\n")->grep(qr/die/)->join('');
$stream = b($file)->slurp->split("\n")->grep(qr/die/)->join;
is $stream, '% die;', 'right content';

# spurt
Expand Down

0 comments on commit 39a4579

Please sign in to comment.