Permalink
Browse files

Tests for issue 130

  • Loading branch information...
1 parent 8f1f76e commit 42a35de87090e4f1de595c6d4fc92fb551ce5695 @AndrewRadev AndrewRadev committed Feb 18, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 spec/indent/continuations_spec.rb
@@ -84,6 +84,17 @@
EOF
end
+ specify "lonesome single parenthesis in a method definition" do
+ # See https://github.com/vim-ruby/vim-ruby/issues/130 for details
+ assert_correct_indenting <<-EOF
+ def bar(
+ baz
+ )
+ return baz+1
+ end
+ EOF
+ end
+
specify "brackets on their own line, followed by a comma" do
# See https://github.com/vim-ruby/vim-ruby/issues/124 for details
assert_correct_indenting <<-EOF

0 comments on commit 42a35de

Please sign in to comment.