2 if Puppet::Util::Package.versioncmp(Puppet.version, '6.0.0') < 0
4 it { is_expected.not_to eq(nil) }
5 it { is_expected.to run.with_params(-34).and_return(34) }
6 it { is_expected.to run.with_params('-34').and_return(34) }
7 it { is_expected.to run.with_params(34).and_return(34) }
8 it { is_expected.to run.with_params('34').and_return(34) }
9 it { is_expected.to run.with_params(-34.5).and_return(34.5) }
10 it { is_expected.to run.with_params('-34.5').and_return(34.5) }
11 it { is_expected.to run.with_params(34.5).and_return(34.5) }
12 it { is_expected.to run.with_params('34.5').and_return(34.5) }