summaryrefslogtreecommitdiff
path: root/spec/commands/exec_spec.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-10 21:26:54 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-10 21:26:54 +0900
commit622921e1fc8d9edc5c4450d725dd162c2f890138 (patch)
tree7a992605bb1065fffb51f8b2c36d27d2496abaa4 /spec/commands/exec_spec.rb
parentddeb882636ad4f6e053a784ebeddb1e1b4b5d1fa (diff)
downloadbundler-622921e1fc8d9edc5c4450d725dd162c2f890138.tar.gz
rubocop -a
Diffstat (limited to 'spec/commands/exec_spec.rb')
-rw-r--r--spec/commands/exec_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb
index fe5cb9f50c..b3ec2c2cfe 100644
--- a/spec/commands/exec_spec.rb
+++ b/spec/commands/exec_spec.rb
@@ -280,10 +280,10 @@ RSpec.describe "bundle exec" do
rubyopt = ENV["RUBYOPT"]
setup_path = if ruby_core?
- File.expand_path("../../../lib/bundler/setup", __dir__)
- else
- File.expand_path("../../lib/bundler/setup", __dir__)
- end
+ File.expand_path("../../../lib/bundler/setup", __dir__)
+ else
+ File.expand_path("../../lib/bundler/setup", __dir__)
+ end
rubyopt = "-r#{setup_path} #{rubyopt}"
bundle "exec 'echo $RUBYOPT'"