aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commit2ccb7fb65578cb18b5e4965872f5c95e7fb516a3 (patch)
tree93e611004d02e99a4c70fb9e82dd8b4bcfaa3476 /test
parent37a92063f0f0d96bc51f2153c6446534f053e734 (diff)
downloadruby-2ccb7fb65578cb18b5e4965872f5c95e7fb516a3.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')
-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"]