Skip to content

Commit b261932

Browse files
authored
Merge pull request #9217 from nobu/fragile-test
Fix fragile tests
2 parents 9b68025 + f15bbbe commit b261932

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/rubygems/test_gem_commands_install_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ def test_pass_down_the_job_option_to_make
16101610

16111611
gem_make_out = File.read(File.join(gemspec.extension_dir, "gem_make.out"))
16121612
if vc_windows? && nmake_found?
1613-
refute_includes(gem_make_out, "-j4")
1613+
refute_includes(gem_make_out, " -j4")
16141614
else
16151615
assert_includes(gem_make_out, "make -j4")
16161616
end

test/rubygems/test_gem_commands_update_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ def test_pass_down_the_job_option_to_make
722722

723723
gem_make_out = File.read(File.join(gemspec.extension_dir, "gem_make.out"))
724724
if vc_windows? && nmake_found?
725-
refute_includes(gem_make_out, "-j2")
725+
refute_includes(gem_make_out, " -j2")
726726
else
727727
assert_includes(gem_make_out, "make -j2")
728728
end

0 commit comments

Comments
 (0)