diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-23 21:02:56 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-23 21:02:56 +0900 |
commit | 31a6eaabc165d8a222e176f2c809d90622d88ec2 (patch) | |
tree | b5333db2c13888ede5062ccd8ecca649ea261b4c /test/rubygems/test_gem_util.rb | |
parent | f56fc720ee8cd4b79824a1c3843058b662a302bd (diff) |
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
Diffstat (limited to 'test/rubygems/test_gem_util.rb')
-rw-r--r-- | test/rubygems/test_gem_util.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_util.rb b/test/rubygems/test_gem_util.rb index acf7ac8962..5866aa7b99 100644 --- a/test/rubygems/test_gem_util.rb +++ b/test/rubygems/test_gem_util.rb @@ -3,6 +3,7 @@ require 'rubygems/test_case' require 'rubygems/util' class TestGemUtil < Gem::TestCase + def test_class_popen skip "popen with a block does not behave well on jruby" if Gem.java_platform? assert_equal "0\n", Gem::Util.popen(*ruby_with_rubygems_in_load_path, '-e', 'p 0') @@ -85,4 +86,5 @@ class TestGemUtil < Gem::TestCase path = "/home/skillet" assert_equal "/home/skillet", Gem::Util.correct_for_windows_path(path) end + end |