mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Ignore warnings about mismatched indentations.
This commit is contained in:
parent
464e55f1d0
commit
2bad001cfd
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ class TestComparable < Test::Unit::TestCase
|
||||||
assert_raise_with_message(ArgumentError, 'min argument must be smaller than max argument') {
|
assert_raise_with_message(ArgumentError, 'min argument must be smaller than max argument') {
|
||||||
@o.clamp(2, 1)
|
@o.clamp(2, 1)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_err
|
def test_err
|
||||||
assert_raise(ArgumentError) { 1.0 < nil }
|
assert_raise(ArgumentError) { 1.0 < nil }
|
||||||
|
|
|
@ -2146,7 +2146,7 @@ class TestRefinement < Test::Unit::TestCase
|
||||||
def call
|
def call
|
||||||
ToProc.call(&self)
|
ToProc.call(&self)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ToProcAndMethodMissing
|
class ToProcAndMethodMissing
|
||||||
def method_missing *args
|
def method_missing *args
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue