diff options
author | TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com> | 2021-04-06 00:54:23 +0900 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-04-19 16:07:47 -0600 |
commit | 19a1a07578d585f95fec1c1ad85c1fa2c15eb1c8 (patch) | |
tree | 4e7f771943e4af14844d430de299cc108dab79ce /t | |
parent | d1690fb1406aa65e5c1ca52769a551291e8b26ca (diff) | |
download | perl-19a1a07578d585f95fec1c1ad85c1fa2c15eb1c8.tar.gz |
t/op/bop.t: Call "use warnings" pragma after BEGIN block
This enables set_up_inc() to be honored in processing "use warnings"
and will make stand-alone testing a bit easier.
Diffstat (limited to 't')
-rw-r--r-- | t/op/bop.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/bop.t b/t/op/bop.t index a84992e391..4cea08e2a6 100644 --- a/t/op/bop.t +++ b/t/op/bop.t @@ -4,8 +4,6 @@ # test the bit operators '&', '|', '^', '~', '<<', and '>>' # -use warnings; - BEGIN { chdir 't' if -d 't'; require "./test.pl"; @@ -14,6 +12,8 @@ BEGIN { require Config; } +use warnings; + # Tests don't have names yet. # If you find tests are failing, please try adding names to tests to track # down where the failure is, and supply your new names as a patch. |