-
Notifications
You must be signed in to change notification settings - Fork 559
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
t
: Convert indirect Config
syntax in core's tests
#21498
Conversation
t
: Convert indirect syntax in testst
: Convert indirect syntax in core's tests
I wonder if using |
Making it compile-time would defeat the point of putting it in an eval or running it after |
7147dd4
to
d726b4a
Compare
Thanks. I think it's good to go then! |
It would be interesting if the various approaches could be made more similar, like should it always be in a BEGIN block, or should it be bundled together with require of test.pl and setting lib somehow. |
t
: Convert indirect syntax in core's testst
: Convert indirect Config
syntax in core's tests
d726b4a
to
6725981
Compare
Yes, thanks for the comment, though that's a matter of another PR, I'd like to limit this to reverting the indirect syntax only🙂 |
@rwp0, GitHub diff does not display the differences between blead and your branch with respect to Command-line
(In the above, blead is checked out into But are the differences limited to just your substitution of
So before merging we have to get bigfuzzy to contain only your intended changes. Can you investigate? |
We have a lot of lines throughout the distribution with this particular indirect object notation. This PR deals with the tests in `t/` directory which includes core files only. Convert: ``` require Config; import Config; ``` To: ``` require Config; Config->import; ``` `t/op/lc.t`: excluded due to file encoding (Unicode/Latin-1) issues
6725981
to
dfb29bc
Compare
That file indeed contains binary data passed as a function argument. This fact unfortunately seem to mess with my IDE and tools. I excluded the I'm noting to work on these two excluded files later in another PR, perhaps individually. Thanks for the review |
I think this is good to go too now.
|
We have a lot of lines throughout the distribution with this particular indirect object notation.
This PR deals with the tests in
t/
directory which includes core files only.Convert:
To:
Two test files are excluded in this PR:
t/op/lc.t
: Unicode encoding issuest/re/bigfuzzy.t
: Binary data issues