diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-10-15 04:21:22 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-10-15 04:21:22 +0300 |
commit | 1bd9995dc0e971d289f829316fe778391c43b943 (patch) | |
tree | 347fa74e9c3f2efa191b25f8bd718d24a0cd406b /test | |
parent | f55f544f4010368eb422b07c086b205ee2e39cf4 (diff) | |
download | emacs-1bd9995dc0e971d289f829316fe778391c43b943.tar.gz |
* indent/ruby.rb: Fix an example, remove wrong example, and add two more.
Diffstat (limited to 'test')
-rw-r--r-- | test/indent/ruby.rb | 13 |
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 && 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 +} |