aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2013-10-15 04:21:22 +0300
committerDmitry Gutov2013-10-15 04:21:22 +0300
commit1bd9995dc0e971d289f829316fe778391c43b943 (patch)
tree347fa74e9c3f2efa191b25f8bd718d24a0cd406b
parentf55f544f4010368eb422b07c086b205ee2e39cf4 (diff)
downloademacs-1bd9995dc0e971d289f829316fe778391c43b943.tar.gz
emacs-1bd9995dc0e971d289f829316fe778391c43b943.zip
* indent/ruby.rb: Fix an example, remove wrong example, and add two more.
-rw-r--r--test/indent/ruby.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 912648378c3..ef89ebc1aa7 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -182,12 +182,9 @@ if foo &&
182end 182end
183 183
184method !arg1, 184method !arg1,
185 arg2
186
187method [],
188 arg2 185 arg2
189 186
190method {:a => 1, :b => 2}, 187method [],
191 arg2 188 arg2
192 189
193method :foo, 190method :foo,
@@ -195,3 +192,11 @@ method :foo,
195 192
196method (a + b), 193method (a + b),
197 c 194 c
195
196it "is a method call with block" do
197 foo
198end
199
200it("is too!") {
201 bar
202}