We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76efd1 commit 76384e1Copy full SHA for 76384e1
spec/indent/continuations_spec.rb
@@ -68,11 +68,32 @@
68
end
69
70
specify "string interpolation" do
71
- # See https://github.com/vim-ruby/vim-ruby/issues/93 for details
+ # For details, see:
72
+ #
73
+ # https://github.com/vim-ruby/vim-ruby/issues/93
74
+ # https://github.com/vim-ruby/vim-ruby/issues/160
75
76
assert_correct_indenting <<-EOF
77
command = %|\#{file}|
78
settings.log.info("Returning: \#{command}")
79
EOF
80
+
81
+ assert_correct_indenting <<-EOF
82
+ {
83
+ thing: "[\#{}]",
84
+ thong: "b"
85
+ }
86
+ EOF
87
88
89
90
+ a: "(\#{a})",
91
+ b: "(\#{b})",
92
+ c: "(c)",
93
+ d: "(d)",
94
+ e: "(e)",
95
96
97
98
99
specify "closing bracket not on its own line" do
0 commit comments