1 require 'spec_helper_acceptance'
3 describe 'chomp function', :if => Puppet::Util::Package.versioncmp(return_puppet_version, '6.0.0') < 0 do
8 fail("Size of ${input} is not 5.")
10 $output = chomp($input)
11 if size($output) != 4 {
12 fail("Size of ${input} is not 4.")
15 it 'eats the newline' do
16 apply_manifest(pp, :catch_failures => true)