Skip to content

Commit 7e21899

Browse files
authored
Merge pull request #9875 from ruby/claude/quirky-banach-6beaf5
Fix tests that fail on master under Ruby::Box and system RubyGems
2 parents 9a10026 + c577a7f commit 7e21899

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

spec/runtime/setup_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def clean_load_path(lp)
270270
ruby "require 'bundler'; Bundler.setup"
271271
expect(out).to include("Resolving dependencies...")
272272
lockfile = File.read(bundled_app_lock)
273-
expect(lockfile).to include("CHECKSUMS\n myrack (1.0.0)\n")
273+
expect(lockfile).to match(/^CHECKSUMS\n(?: .+\n)* myrack \(1\.0\.0\)\n/)
274274

275275
ruby "require 'bundler'; Bundler.setup"
276276
expect(out).not_to include("Resolving dependencies...")

test/rubygems/test_gem_specification.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ def test_self_attribute_names
710710
end
711711

712712
def test_self_dirs_equals_with_unresolved_deps
713+
pend_for_ruby_box_stdio_capture
713714
a = util_spec "a", 1
714715
b = util_spec "b", 1
715716
install_gem_user a

0 commit comments

Comments
 (0)