summaryrefslogtreecommitdiff
path: root/test/rubygems
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-04-04 12:12:02 +0900
committergit <svn-admin@ruby-lang.org>2023-04-04 12:20:43 +0000
commit06da0d1456f52a69ad19a0a8cc35e3359d2d144c (patch)
treeb83609f2b7d0f8610e0f918d8c1a048810dd62fd /test/rubygems
parenta881b33818b101ad097cd0158afda11b6c24f1fc (diff)
downloadruby-06da0d1456f52a69ad19a0a8cc35e3359d2d144c.tar.gz
[rubygems/rubygems] util/rubocop -A
https://github.com/rubygems/rubygems/commit/8c9ea5d180
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_gem_ext_builder.rb2
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 4734a77fee..142dfdab00 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/.match?(results)
+ unless /nmake/.match?(results)
assert_match %r{^clean: destination$}, results
assert_match %r{^all: destination$}, results
assert_match %r{^install: destination$}, results