summaryrefslogtreecommitdiff
path: root/test/misc
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc')
-rw-r--r--test/misc/test_ruby_mode.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/misc/test_ruby_mode.rb b/test/misc/test_ruby_mode.rb
index d654cdc34b..e011ece1cf 100644
--- a/test/misc/test_ruby_mode.rb
+++ b/test/misc/test_ruby_mode.rb
@@ -165,5 +165,17 @@ class TestRubyMode
| end
|')
end
+
+ def test_spread_arguments
+ assert_indent('
+ |foo(1,
+ | 2,
+ | 3)
+ |', '
+ |foo(1,
+ | 2,
+ | 3)
+ |')
+ end
end
end if TestRubyMode::EMACS