summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-12 12:01:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-12 12:01:51 +0000
commitb6490ddd977f7c5c089c17a22052b9f040f4565e (patch)
tree93e611004d02e99a4c70fb9e82dd8b4bcfaa3476 /test/ruby
parent8ef4ff1b150beb2f032911473cc5d7f8441bc083 (diff)
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')
-rw-r--r--test/ruby/test_rubyoptions.rb1
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"]