Skip to content

Commit c3a5090

Browse files
committed
Add space to URI error
The URI gem recently updated its error messages to include a space where there previously was not one: ruby/uri@9f2c7ed This commit updates our test to reflect that change.
1 parent 4ea6ee2 commit c3a5090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/provider/package/puppetserver_gem_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
it "raises if given an invalid URI" do
7979
resource[:source] = 'h;ttp://rubygems.com'
80-
expect { provider.install }.to raise_error(Puppet::Error, /Invalid source '': bad URI\(is not URI\?\)/)
80+
expect { provider.install }.to raise_error(Puppet::Error, /Invalid source '': bad URI \(is not URI\?\)/)
8181
end
8282
end
8383
end

0 commit comments

Comments
 (0)