diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-12 12:01:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-12 12:01:51 +0000 |
commit | b6490ddd977f7c5c089c17a22052b9f040f4565e (patch) | |
tree | 93e611004d02e99a4c70fb9e82dd8b4bcfaa3476 /test/ruby/test_rubyoptions.rb | |
parent | 8ef4ff1b150beb2f032911473cc5d7f8441bc083 (diff) | |
download | ruby-b6490ddd977f7c5c089c17a22052b9f040f4565e.tar.gz |
assert indents of `case` and `end`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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"] |