Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed ampersands on subroutine calls #7

Merged
merged 3 commits into from
Oct 6, 2016
Merged

removed ampersands on subroutine calls #7

merged 3 commits into from
Oct 6, 2016

Conversation

ankit01ojha
Copy link
Contributor

I removed the ampersands on subroutine calls and pushed the whole folder

@coveralls
Copy link

coveralls commented Oct 5, 2016

Coverage Status

Coverage decreased (-3.2%) to 83.065% when pulling 27ea709 on ankit01ojha:master into 3a20220 on davorg:master.

Copy link
Collaborator

@davorg davorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, but please ensure that the tests pass before submitting a PR.


eval "&c";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a typo.

@@ -10,7 +10,7 @@ sub qux {12}
package y;
use Symbol::Approx::Sub (canon => undef,
match => sub {shift; return 0 .. $#_});
Test::More::ok(&x::quux()==12);
Test::More::ok(&y::quux()==23);
Test::More::ok(x()::quux()==12);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be x::quux().

@@ -1,7 +1,7 @@
use Test::More tests => 1;

use Symbol::Approx::Sub(xform => undef,
match => \&always_bb);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was correct as we're taking a reference to the subroutine, not calling it.

@coveralls
Copy link

coveralls commented Oct 5, 2016

Coverage Status

Coverage decreased (-2.4%) to 83.871% when pulling d0ae89b on ankit01ojha:master into 3a20220 on davorg:master.

@coveralls
Copy link

coveralls commented Oct 5, 2016

Coverage Status

Coverage remained the same at 86.29% when pulling 7984f6a on ankit01ojha:master into 3a20220 on davorg:master.

@davorg
Copy link
Collaborator

davorg commented Oct 6, 2016

I think you've missed a couple, but I'll merge this PR and do the rest myself. Thanks.

@davorg davorg merged commit 8fe8a38 into davorg-cpan:master Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants