From 1bd9995dc0e971d289f829316fe778391c43b943 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Tue, 15 Oct 2013 04:21:22 +0300 Subject: [PATCH] * indent/ruby.rb: Fix an example, remove wrong example, and add two more. --- test/indent/ruby.rb | 13 +++++++++---- 1 file 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 && 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 +} -- 2.39.2