ruby-changes:55952
From: Hiroshi <ko1@a...>
Date: Sat, 1 Jun 2019 21:24:16 +0900 (JST)
Subject: [ruby-changes:55952] Hiroshi SHIBATA: 2bad001cfd (trunk): Ignore warnings about mismatched indentations.
https://git.ruby-lang.org/ruby.git/commit/?id=2bad001cfd From 2bad001cfd15c59630a03918dc80a703b093688e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 1 Jun 2019 15:23:24 +0300 Subject: Ignore warnings about mismatched indentations. diff --git a/test/ruby/test_comparable.rb b/test/ruby/test_comparable.rb index 94c05d5..4f1d38a 100644 --- a/test/ruby/test_comparable.rb +++ b/test/ruby/test_comparable.rb @@ -88,7 +88,7 @@ class TestComparable < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_comparable.rb#L88 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 8908d35..7d47a52 100644 --- a/test/ruby/test_refinement.rb +++ b/test/ruby/test_refinement.rb @@ -2146,7 +2146,7 @@ class TestRefinement < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_refinement.rb#L2146 def call ToProc.call(&self) end - end + end class ToProcAndMethodMissing def method_missing *args -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/