diff options
author | tphoney <tp@puppet.com> | 2017-07-14 10:14:04 +0100 |
---|---|---|
committer | tphoney <tp@puppet.com> | 2017-07-14 10:42:10 +0100 |
commit | 33922a4ec7a8c204a17e0c3017eea21faa220f39 (patch) | |
tree | 069c400254276e50176e5b11140c77f831590879 /spec/aliases/string_spec.rb | |
parent | 01d3004f0a6a1c662aea90edd5b1524139706c61 (diff) |
FM-6239 clean up for puppet 5.tests/deprecation
Diffstat (limited to 'spec/aliases/string_spec.rb')
-rw-r--r-- | spec/aliases/string_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/aliases/string_spec.rb b/spec/aliases/string_spec.rb index 3ea1967..4fc8ce6 100644 --- a/spec/aliases/string_spec.rb +++ b/spec/aliases/string_spec.rb @@ -24,7 +24,7 @@ if Puppet::Util::Package.versioncmp(Puppet.version, '4.5.0') >= 0 ].each do |value| describe value.inspect do let(:params) {{ value: value }} - it { is_expected.to compile.and_raise_error(/parameter 'value' expects a (?:value of type Undef or )?String/) } + it { is_expected.to compile.and_raise_error(/parameter 'value' expects a (?:value of type Undef or )?.*String/) } end end end |