diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-04 12:03:13 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-04 12:20:43 +0000 |
commit | a881b33818b101ad097cd0158afda11b6c24f1fc (patch) | |
tree | 73111721667233a91e214e4df703d91ab19cfded /test/rubygems/test_gem_ext_builder.rb | |
parent | a78e0ca968115cbf57228cf2c026d2e21534dc7b (diff) |
[rubygems/rubygems] util/rubocop -A --only Performance/RegexpMatch
https://github.com/rubygems/rubygems/commit/52ae4452c2
Diffstat (limited to 'test/rubygems/test_gem_ext_builder.rb')
-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 3decab78b0..4734a77fee 100644 --- a/test/rubygems/test_gem_ext_builder.rb +++ b/test/rubygems/test_gem_ext_builder.rb @@ -52,7 +52,7 @@ install: assert_match %r{DESTDIR\\=#{ENV['DESTDIR']}$}, results assert_match %r{DESTDIR\\=#{ENV['DESTDIR']} install$}, results - if /nmake/ !~ results + if !/nmake/.match?(results) assert_match %r{^clean: destination$}, results assert_match %r{^all: destination$}, results assert_match %r{^install: destination$}, results |