Skip to content

Commit 6c36081

Browse files
author
tphoney
committed
MODULES-5378 fix the change in error message
1 parent 75a04f7 commit 6c36081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/defines/server/grant_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
"class {'postgresql::server':}"
216216
end
217217

218-
it { is_expected.to compile.and_raise_error(/parameter 'object_name' expects a value of type (Undef, )?Array, or String, got Integer/) }
218+
it { is_expected.to compile.and_raise_error(/parameter 'object_name' expects a value of type (Array|Undef, Array,) or String, got Integer/) }
219219
end
220220

221221
context 'invalid object_name - insufficent array elements' do

0 commit comments

Comments
 (0)