diff options
author | Michael Pitman <michaelp@ibglobalweb.com> | 2017-08-30 14:20:56 +1000 |
---|---|---|
committer | Michael Pitman <michaelp@ibglobalweb.com> | 2017-08-30 14:20:56 +1000 |
commit | afee7beee02f1005c731448ef1797d59c8b17534 (patch) | |
tree | da0a68ffdb29324d0381b4c0379e6d23d63c36bb | |
parent | 2c80476d3ee87fc11d5b3d0bbd4e3a5db2366c3e (diff) | |
download | bundler-afee7beee02f1005c731448ef1797d59c8b17534.tar.gz |
Fix inappropriate use of single quotes
-rw-r--r-- | spec/bundler/shared_helpers_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb index 2df92df906..0492ec39e6 100644 --- a/spec/bundler/shared_helpers_spec.rb +++ b/spec/bundler/shared_helpers_spec.rb @@ -281,7 +281,7 @@ RSpec.describe Bundler::SharedHelpers do context "with a jruby path_separator regex", :ruby => "1.9" do # In versions of jruby that supported ruby 1.8, the path separator was the standard File::PATH_SEPARATOR - let(:regex) { Regexp.new('(?<!jar:file|jar|file|classpath|uri:classloader|uri|http|https):') } + let(:regex) { Regexp.new("(?<!jar:file|jar|file|classpath|uri:classloader|uri|http|https):") } it "does not exit if bundle path is the standard uri path" do allow(Gem).to receive(:path_separator).and_return(regex) allow(Bundler).to receive(:bundle_path) { Pathname.new("uri:classloader:/WEB-INF/gems") } |