Skip to content

Commit

Permalink
removed ampersands on subroutine calls (#7)
Browse files Browse the repository at this point in the history
* removed ampersands on subroutine calls
  • Loading branch information
ankit01ojha authored and davorg committed Oct 6, 2016
1 parent 4b95c51 commit 8fe8a38
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion t/anon.t
Expand Up @@ -11,4 +11,4 @@ sub aa { 'aa' }

sub bb { 'bb' }

ok(&b eq 'aa');
ok(b() eq 'aa');
2 changes: 1 addition & 1 deletion t/arr_str_xform.t
Expand Up @@ -5,4 +5,4 @@ use Symbol::Approx::Sub (xform => [ 'Text::Soundex' ]);

sub a_a { 'aa' }

ok(&aa eq 'aa');
ok(aa() eq 'aa');
2 changes: 1 addition & 1 deletion t/arr_xform.t
Expand Up @@ -6,4 +6,4 @@ use Symbol::Approx::Sub (xform => [ sub { map { s/[^a-z]//ig; $_ } @_ },

sub a_a { 'aa' }

ok(&AA eq 'aa');
ok(AA() eq 'aa');
4 changes: 2 additions & 2 deletions t/basic.t
Expand Up @@ -6,9 +6,9 @@ sub aa { 'aa' }

sub bb { 'bb' }

ok(&a eq 'aa');
ok(a() eq 'aa');

ok(&b eq 'bb');
ok(b() eq 'bb');

eval "&c";
ok($@);
2 changes: 1 addition & 1 deletion t/code_xform.t
Expand Up @@ -4,4 +4,4 @@ use Symbol::Approx::Sub (xform => sub { map { s/[^A-Za-z]//g; $_ } @_ });

sub a_a { 'aa' }

ok(&aa eq 'aa');
ok(aa() eq 'aa');
2 changes: 1 addition & 1 deletion t/ref.t
Expand Up @@ -17,4 +17,4 @@ sub aa { 'aa' }

sub bb { 'bb' }

ok(&a eq 'bb');
ok(a() eq 'bb');
2 changes: 1 addition & 1 deletion t/str_choose.t
Expand Up @@ -5,4 +5,4 @@ use Symbol::Approx::Sub (choose => 'String::Equal');

sub aa { 'aa' }

ok(&a eq 'aa');
ok(a() eq 'aa');
2 changes: 1 addition & 1 deletion t/str_xform.t
Expand Up @@ -5,4 +5,4 @@ use Symbol::Approx::Sub (xform => 'Text::Soundex');

sub a_a { 'aa' }

ok(&aa eq 'aa');
ok(aa() eq 'aa');

0 comments on commit 8fe8a38

Please sign in to comment.