diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 04:49:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 04:49:47 +0000 |
commit | 4c7038c1777bfe41410fd99ee4b07b3d07f28fc3 (patch) | |
tree | 06dc92c914b421308f4fd2ff75975ba41660aacc /test/rubygems | |
parent | d0f71e5072195d4efaf90a0e14598cdc0f858887 (diff) | |
download | ruby-4c7038c1777bfe41410fd99ee4b07b3d07f28fc3.tar.gz |
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
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_ext_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_ext_builder.rb b/test/rubygems/test_gem_ext_builder.rb index da040ea982..eb86f53872 100644 --- a/test/rubygems/test_gem_ext_builder.rb +++ b/test/rubygems/test_gem_ext_builder.rb @@ -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) |