Skip to content

Commit d2e5994

Browse files
deivid-rodriguezmatzbot
authored andcommitted
[rubygems/rubygems] Improve heredoc indentation in exec specs
rubygems/rubygems@abb658757f
1 parent 8b75164 commit d2e5994

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spec/bundler/commands/exec_spec.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -881,13 +881,13 @@ def bin_path(a,b,c)
881881

882882
let(:exit_code) { Bundler::GemNotFound.new.status_code }
883883
let(:expected) { "" }
884-
let(:expected_err) { <<-EOS.strip }
885-
Could not find gem 'myrack (= 2)' in locally installed gems.
884+
let(:expected_err) { <<~EOS.strip }
885+
Could not find gem 'myrack (= 2)' in locally installed gems.
886886
887-
The source contains the following gems matching 'myrack':
888-
* myrack-0.9.1
889-
* myrack-1.0.0
890-
Run `bundle install` to install missing gems.
887+
The source contains the following gems matching 'myrack':
888+
* myrack-0.9.1
889+
* myrack-1.0.0
890+
Run `bundle install` to install missing gems.
891891
EOS
892892

893893
it "runs" do
@@ -963,10 +963,10 @@ def bin_path(a,b,c)
963963
puts "__FILE__: #{__FILE__.inspect}"
964964
RUBY
965965

966-
let(:expected) { super() + <<-EOS.chomp }
966+
let(:expected) { super() + <<~EOS.chomp }
967967
968-
$0: #{path.to_s.inspect}
969-
__FILE__: #{path.to_s.inspect}
968+
$0: #{path.to_s.inspect}
969+
__FILE__: #{path.to_s.inspect}
970970
EOS
971971

972972
it "runs" do

0 commit comments

Comments
 (0)