summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-01 15:23:24 +0300
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-01 15:23:24 +0300
commit2bad001cfd15c59630a03918dc80a703b093688e (patch)
treef2361921527ce525d761af8e9c4d14d011e698d7 /test
parent464e55f1d0296c3593157a89159f75d58397a1f5 (diff)
Ignore warnings about mismatched indentations.
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_comparable.rb2
-rw-r--r--test/ruby/test_refinement.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_comparable.rb b/test/ruby/test_comparable.rb
index 94c05d5f91..4f1d38a7e6 100644
--- a/test/ruby/test_comparable.rb
+++ b/test/ruby/test_comparable.rb
@@ -88,7 +88,7 @@ class TestComparable < Test::Unit::TestCase
assert_raise_with_message(ArgumentError, 'min argument must be smaller than max argument') {
@o.clamp(2, 1)
}
- end
+ end
def test_err
assert_raise(ArgumentError) { 1.0 < nil }
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb
index 8908d353a5..7d47a52982 100644
--- a/test/ruby/test_refinement.rb
+++ b/test/ruby/test_refinement.rb
@@ -2146,7 +2146,7 @@ class TestRefinement < Test::Unit::TestCase
def call
ToProc.call(&self)
end
- end
+ end
class ToProcAndMethodMissing
def method_missing *args