From: Dmitry Gutov Date: Tue, 15 Oct 2013 01:21:22 +0000 (+0300) Subject: * indent/ruby.rb: Fix an example, remove wrong example, and add two more. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1266 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1bd9995dc0e971d289f829316fe778391c43b943;p=emacs.git * indent/ruby.rb: Fix an example, remove wrong example, and add two more. --- 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 && end method !arg1, - arg2 - -method [], arg2 -method {:a => 1, :b => 2}, +method [], arg2 method :foo, @@ -195,3 +192,11 @@ method :foo, method (a + b), c + +it "is a method call with block" do + foo +end + +it("is too!") { + bar +}