mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
Fix a fragile test
`Dir.mktmpdir` concatenates a random base-36 number separated by "-", so may generate pathnames containing "-j4".
This commit is contained in:
parent
a57039196f
commit
8f7c3603c1
@ -1610,7 +1610,7 @@ ERROR: Possible alternatives: non_existent_with_hint
|
||||
|
||||
gem_make_out = File.read(File.join(gemspec.extension_dir, "gem_make.out"))
|
||||
if vc_windows? && nmake_found?
|
||||
refute_includes(gem_make_out, "-j4")
|
||||
refute_includes(gem_make_out, " -j4")
|
||||
else
|
||||
assert_includes(gem_make_out, "make -j4")
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user