diff options
Diffstat (limited to 'test/misc')
-rw-r--r-- | test/misc/test_ruby_mode.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/misc/test_ruby_mode.rb b/test/misc/test_ruby_mode.rb index 64786b3408..6ac3f2e26a 100644 --- a/test/misc/test_ruby_mode.rb +++ b/test/misc/test_ruby_mode.rb @@ -132,5 +132,17 @@ class TestRubyMode | end |') end + + def test_array_literal + assert_indent(' + |begin + | a[b] + |end + |', ' + |begin + | a[b] + | end + |') + end end end if TestRubyMode::EMACS |