Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Perlito5 - indirect-object tests
  • Loading branch information
fglock committed Jul 12, 2013
1 parent 360b966 commit 840f866
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion t5-bug/40-indirect-object.t
@@ -1,7 +1,7 @@
use feature 'say';
use strict;

say "1..50";
say "1..52";

{
package Exists;
Expand Down Expand Up @@ -277,6 +277,9 @@ $code = 'say STDOUT "# 123"';
$expect = '';
show;

$code = 'say STDERR, "# 123"';
$expect = 'No comma allowed after filehandle';
show;


#----- special syntax for print and say
Expand All @@ -297,6 +300,10 @@ $code = 'say (STDOUT "# 123")';
$expect = '';
show();

$code = 'say (STDERR, "# 123")';
$expect = 'No comma allowed after filehandle';
show;


#----- print and say with scalar

Expand Down

0 comments on commit 840f866

Please sign in to comment.