From b6490ddd977f7c5c089c17a22052b9f040f4565e Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Apr 2018 12:01:51 +0000 Subject: assert indents of `case` and `end` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 4479bd5d9b..0f608cd8a5 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -451,6 +451,7 @@ class TestRubyOptions < Test::Unit::TestCase ["begin rescue", "else ; end"], ["begin", "ensure ; end"], ["case nil", "when true; end"], + ["case nil; when true", "end"], ].each do |b, e = 'end'| src = ["#{b}\n", " #{e}\n"] -- cgit v1.2.3