summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Price <chris@puppetlabs.com>2012-10-20 00:24:37 -0700
committerChris Price <chris@puppetlabs.com>2012-10-20 01:43:19 -0700
commit845fa707be7132e753f291901dd7e4d4dc48c405 (patch)
tree249d1d968cdc52f0da77bdc89866d43cd2464623 /tests
parentc2c26de9b10c3675e1044d5571e47e195a5d0167 (diff)
downloadpuppet-inifile-845fa707be7132e753f291901dd7e4d4dc48c405.tar.gz
puppet-inifile-845fa707be7132e753f291901dd7e4d4dc48c405.tar.bz2
Better handling of whitespace lines at ends of sections
This is another bit of cosmetic functionality; prior to this commit, when adding a new setting to a section, we'd write it on the very last line before the next section, even if there was a chunk of trailing whitespace lines at the end of the existing section. This was functional, but the output was not always particularly pleasant for human consumption. This commit tweaks things so that we insert new settings just before the final chunk of whitespace lines in an existing section. This keeps things a bit cleaner.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions