diff options
author | Wilson McCoubrey <wilson@mccoubreys.co.uk> | 2017-03-21 13:18:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 13:18:57 +0000 |
commit | 9a6a33e3c9bef05dc6d5b02dddafcb82bead2271 (patch) | |
tree | a6ad184236ed52a1e93ea5e462fd0288b8dfe667 /spec | |
parent | 080f83558cf5c0f9c6de308651580569aa82f345 (diff) | |
parent | da75bdfa7c067049b4be362fb2a6fad719e6fc3e (diff) |
Merge pull request #743 from domcleal/alias-error-expectation
Update alias spec error message expectation for PUP-7371
Diffstat (limited to 'spec')
-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 d8fb885..3ea1967 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 String/) } + it { is_expected.to compile.and_raise_error(/parameter 'value' expects a (?:value of type Undef or )?String/) } end end end |