]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 27 Sep 2018 12:08:15 +0000 (13:08 +0100)
commit75b0e7a0787d82caa987afc67206fad2b5811e4c
treeff584b844c8fee5329e70b4167d3b3926ec95c73
parenta54c1b9a1ca86dcab11e4008727221edc42eb69a
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>
C4/Creators/Lib.pm
t/db_dependent/Creators/Lib.t