]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 3 Oct 2018 11:52:13 +0000 (13:52 +0200)
commit05d73fb69cf5df9675e1eac032eee36472b3cbee
treed66949186944ce88d25cbefabc09f400fafd1107
parent59b9b4dcf55dba1f29d044e7da6a651f89592089
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>
(cherry picked from commit db683b285cfb31deb9dbdafbc5a18e0b471ffa65)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 75b0e7a0787d82caa987afc67206fad2b5811e4c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Creators/Lib.pm
t/db_dependent/Creators/Lib.t