Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove the %\n stuff from the test; it doesn't add anything
  • Loading branch information
ivanoff committed Aug 11, 2013
1 parent 121d672 commit 7dc5018
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S13-syntax/sub-hash.t
Expand Up @@ -16,10 +16,10 @@ sub to_check {
sub fb() { return 'fb called.'; }

my $fn = lc( @_[ 0 ] || 'A' );
return "%s\n", %fs{ $fn }();
return %fs{ $fn }();
}

is to_check, "\%s\n fa called.", 'fa called ok';
is to_check('B'), "\%s\n fb called.", 'fb called ok';
is to_check, "fa called.", 'fa called ok';
is to_check('B'), "fb called.", 'fb called ok';

# vim: ft=perl6

0 comments on commit 7dc5018

Please sign in to comment.