summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2025-03-12 19:26:06 +0100
committerHiroshi SHIBATA <[email protected]>2025-03-24 13:25:07 +0900
commitafda30774c8165428ca886945889c8747c66e599 (patch)
treebaa47b84feb31729da64690ce7c7266ea0f6f962 /spec
parent4e1df25b158f35d0aef09ce6e6fd278392cc8230 (diff)
[rubygems/rubygems] Reword log message about current platform being missing
It reads better this way I think. https://github.com/rubygems/rubygems/commit/ce9743290d
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12968
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/commands/install_spec.rb2
-rw-r--r--spec/bundler/runtime/setup_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb
index b6b4bbcb28..630909d7ce 100644
--- a/spec/bundler/commands/install_spec.rb
+++ b/spec/bundler/commands/install_spec.rb
@@ -1368,7 +1368,7 @@ RSpec.describe "bundle install with gem sources" do
it "adds the current platform to the lockfile" do
bundle "install --verbose"
- expect(out).to include("re-resolving dependencies because your lockfile does not include the current platform")
+ expect(out).to include("re-resolving dependencies because your lockfile is missing the current platform")
expect(out).not_to include("you are adding a new platform to your lockfile")
expect(lockfile).to eq <<~L
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb
index fd7b38b05d..200d30302d 100644
--- a/spec/bundler/runtime/setup_spec.rb
+++ b/spec/bundler/runtime/setup_spec.rb
@@ -1683,7 +1683,7 @@ end
RUBY
end
- expect(err).to include("Your lockfile does not include the current platform, but can't be updated because file system is read-only")
+ expect(err).to include("Your lockfile is missing the current platform, but can't be updated because file system is read-only")
end
end
end