Skip to content

Commit 6e00ff4

Browse files
committed
(MAINT) improve test coverage for future parser
1 parent 69292a8 commit 6e00ff4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

spec/functions/type_of_spec.rb

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
require 'spec_helper'
22

3-
if ENV["FUTURE_PARSER"] == 'yes'
4-
describe 'type_of' do
5-
pending 'teach rspec-puppet to load future-only functions under 3.7.5'
6-
end
7-
end
8-
9-
if Puppet.version.to_f >= 4.0
3+
if Puppet.version.to_f >= 4.0 or ENV["FUTURE_PARSER"] == 'yes'
104
describe 'type_of' do
115
it { is_expected.not_to eq(nil) }
126
it { is_expected.to run.with_params().and_raise_error(ArgumentError) }

0 commit comments

Comments
 (0)