https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41619

--- Comment #7 from Jake Deery <[email protected]> ---
Created attachment 193461
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193461&action=edit
Bug 41619: (Follow-up) Consider Logical Defined-Or in test

This patch fixes xt/author/Text_CSV_Various.t by using a regex that can
consider logical defined-or statements (|| and //, etc) when checking which
formula has been used.

TO TEST:
a)  run prove -vv xt/author/Text_CSV_Various.t
    *)  notice the test fails
== APPLY PATCH ==
b)  repeat step a)
    *)  notice the test now passes
c)  inspect diff for xt/author/Text_CSV_Various.t
    *)  notice we are now using a wildcard (.*) between => and the first ' to
skip variable declarations
d)  inspect diff for Koha/CSV.pm
    *)  notice we are now hard-coding 'empty' as a defined-or in case someone
decides not to define a format at the class level
        (which was not being done before anyway and is now defaulted to
undefined)
== SIGN OFF ==

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to