mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
This commit is contained in:
parent
f56fc720ee
commit
31a6eaabc1
274 changed files with 672 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
require 'rubygems/test_case'
|
||||
|
||||
class TestGemSourceFetchProblem < Gem::TestCase
|
||||
|
||||
def test_exception
|
||||
source = Gem::Source.new @gem_repo
|
||||
error = RuntimeError.new 'test'
|
||||
|
@ -23,4 +24,5 @@ class TestGemSourceFetchProblem < Gem::TestCase
|
|||
|
||||
refute_match sf.wordy, 'secret'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue