-
Notifications
You must be signed in to change notification settings - Fork 24
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
Enforce strict on testsuite #21
base: master
Are you sure you want to change the base?
Conversation
t/coretests.pm
Outdated
ok(defined(&{"main\::$qv_declare"}), "make sure we exported $qv_declare() properly"); | ||
isa_ok( &$qv_declare(1.2), $package); | ||
die "Error from test: $@" if $@; | ||
ok(main->can($qv_declare), "make sure we exported $qv_declare() properly"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think these need to be changed, and to be honest the old version is technically the more correct one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
restored the previous version via 4948177
t/coretests.pm
Outdated
@@ -338,7 +343,8 @@ SKIP: { | |||
ok($version == $new_version, '$version == $new_version'); | |||
skip "version require'd instead of use'd, cannot test declare", 1 | |||
unless defined $qv_declare; | |||
$version = &$qv_declare(1.2.3); | |||
|
|||
$version = main->can($qv_declare)->(1.2.3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is indented incorrectly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed via 590c618... unfortunately the whole indentation of this file is a mess... mixing spaces and tabs...
restored the "\t\s+" indentation used around the other lines to match
590c618
to
4948177
Compare
Could you please change the |
@Leont I removed the |
|
This branch doesn't seem to apply anymore. |
No description provided.