summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser/functions/regsubst.rb
Commit message (Collapse)AuthorAgeFilesLines
* [#3994] rename the specs to have _spec.rb at the endMarkus Roberts2010-06-231-168/+0
| | | | | | | | | Some spec files like active_record.rb had names that would confuse the load path and get loaded instead of the intended implentation when the spec was run from the same directory as the file. Author: Matt Robinson <matt@puppetlabs.com> Date: Fri Jun 11 15:29:33 2010 -0700
* Make regsubst() function operate on arrays (feature #2491).Thomas Bellman2009-09-151-0/+80
| | | | | | | | | | | Allow the first argument to the regsubst() function be an array, and perform regexp replacement on each element of the array in that case. This patch also adds more error checking to give better error messages to the user when given bad parameters. Signed-off-by: Thomas Bellman <bellman@nsc.liu.se>
* Updated split function and add split function unit tests (courtesy of Thomas ↵James Turnbull2009-06-121-0/+0
| | | | Bellman)
* Changed tabs to spaces without interfering with indentation or alignmentIan Taylor2009-06-061-42/+42
|
* Fixed #1830 - Added regsubst functionJames Turnbull2009-02-141-0/+88