diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-21 18:57:58 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-22 21:21:08 +0000 |
commit | 348412c7fa0230925c3b1ffc94e64367273da42d (patch) | |
tree | 82a48f3ca9f986ddc33c76137810e561a8378e50 /spec/bundler/install/gems | |
parent | 7c307e0379e3c6c07d821b863fefbdfdfc84c4f1 (diff) | |
download | ruby-348412c7fa0230925c3b1ffc94e64367273da42d.tar.gz |
[rubygems/rubygems] Use indented heredoc
https://github.com/rubygems/rubygems/commit/085d2776d8
Diffstat (limited to 'spec/bundler/install/gems')
-rw-r--r-- | spec/bundler/install/gems/flex_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/install/gems/flex_spec.rb b/spec/bundler/install/gems/flex_spec.rb index d5fa55be48..ddb9480343 100644 --- a/spec/bundler/install/gems/flex_spec.rb +++ b/spec/bundler/install/gems/flex_spec.rb @@ -193,7 +193,7 @@ RSpec.describe "bundle flex_install" do it "discards the locked gems when the Gemfile requires different versions than the lock" do bundle "config set force_ruby_platform true" - nice_error = <<-E.strip.gsub(/^ {8}/, "") + nice_error = <<~E.strip Could not find compatible versions Because rack-obama >= 2.0 depends on rack = 1.2 @@ -210,7 +210,7 @@ RSpec.describe "bundle flex_install" do it "does not include conflicts with a single requirement tree, because that can't possibly be a conflict" do bundle "config set force_ruby_platform true" - bad_error = <<-E.strip.gsub(/^ {8}/, "") + bad_error = <<~E.strip Bundler could not find compatible versions for gem "rack-obama": In Gemfile: rack-obama (= 2.0) |