Koha-clms/xt/author
Jake Deery 7a0113e044
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 ==

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-02-25 12:47:44 -07:00
..
Text_CSV_Various.t Bug 41619: (Follow-up) Consider Logical Defined-Or in test 2026-02-25 12:47:44 -07:00
codespell.t Bug 39877: Apply to other slow tests 2025-10-10 06:20:18 -06:00
icondirectories.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
pod_checker.t Bug 39876: Apply module to other tests 2025-07-08 15:41:59 -06:00
pod_coverage.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
podcorrectness.t Bug 39876: Apply module to other tests 2025-07-08 15:41:59 -06:00
show-template-structure.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
valid-templates.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00