https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16635
Bug ID: 16635
Summary: t/00-load.t warning from C4/Barcodes/hbyymmincr.pm
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Test Suite
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
According to http://perldoc.perl.org/vars.html, "our" should be a reasonable
substitute for the "use vars". By declaring as "our", and removing the INIT,
prove t/00-load will no longer generate a warning about INIT for the
C4/Barcodes/hbyymmincr.pm module.
TEST PLAN
---------
1) prove t/00-load.t
-- warnings about INIT for hbyymmincr
2) prove `git grep -l hbyymmincr | grep [.]t$`
-- should all run okay
3) apply patch
4) repeat steps 1 and 2
-- warning should be gone, and everything else run okay
5) run koha qa test tools
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/