]> git.koha-community.org Git - koha.git/commit
Bug 21281: (QA follow-up) Introduce _add_backtics
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 21 Sep 2018 07:15:08 +0000 (09:15 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 26 Sep 2018 15:22:57 +0000 (15:22 +0000)
commitdb683b285cfb31deb9dbdafbc5a18e0b471ffa65
treebc1dc540a2807753aea471abdbb1f0cf06451d5e
parent78124100ec6708de99bea3e4e181da3897130d0e
Bug 21281: (QA follow-up) Introduce _add_backtics

Added a (initially trivial) test in Creators/Lib.t too.
Sometimes you start something, but you end somewhere else ;)

The test seems a bit slower now (regex, lookahead, etc). But this should
not hurt label creators in daily use.
Advantages: code is even more solid, consolidated in one place and can be
tested on its own.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Creators/Lib.pm
t/db_dependent/Creators/Lib.t