mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_gem_ext_builder.rb: fix wrong skip condition
* test/rubygems/test_gem_ext_builder.rb (test_build_extensions_extconf_bad): fix wrong skip condition by removing wrong expace, String#include? does not turn a string argument into a regexp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d0f71e5072
commit
4c7038c177
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ install:
|
|||
refute_path_exists @spec.gem_build_complete_path
|
||||
|
||||
skip "Gem.ruby is not the name of the binary being run in the end" \
|
||||
unless File.read(gem_make_out).include? "#{Regexp.escape Gem.ruby}:"
|
||||
unless File.read(gem_make_out).include? "#{Gem.ruby}:"
|
||||
|
||||
assert_match %r%#{Regexp.escape Gem.ruby}: No such file%,
|
||||
File.read(gem_make_out)
|
||||
|
|
Loading…
Reference in a new issue