Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Spec

  • Loading branch information...
commit 8f1f76ef90a0005fc2dbc889240ecb9ee9203f1f 1 parent 43ce479
@AndrewRadev AndrewRadev authored
Showing with 18 additions and 0 deletions.
  1. +18 −0 spec/indent/continuations_spec.rb
View
18 spec/indent/continuations_spec.rb
@@ -83,4 +83,22 @@
four
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
+ bla = {
+ :one => [
+ {:bla => :blub}
+ ],
+ :two => (
+ {:blub => :abc}
+ ),
+ :three => {
+ :blub => :abc
+ },
+ :four => 'five'
+ }
+ EOF
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.