HomePhorge

(maint) Improve Puppet::Util::Docs.scrub's handling of one-liners
641f5eac4f0cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Improve Puppet::Util::Docs.scrub's handling of one-liners

One-liner handling wasn't behaving as expected. Sometimes one-liners are
buffered with extra newlines before and/or after, and in these cases, scrub
wasn't catching the leading whitespace.

This commit makes it behave as intended, and adds a test showing the intended
behavior.

Details

Provenance
Nick Fagerlund <nick.fagerlund@gmail.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf37263681cec: Merge remote-tracking branch 'upstream/stable'
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Fagerlund <nick.fagerlund@gmail.com> committed rPU641f5eac4f0c: (maint) Improve Puppet::Util::Docs.scrub's handling of one-liners (authored by Nick Fagerlund <nick.fagerlund@gmail.com>).Feb 15 2014, 12:51 AM