aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent
diff options
context:
space:
mode:
authorDmitry Gutov2013-10-24 04:47:28 +0400
committerDmitry Gutov2013-10-24 04:47:28 +0400
commit369bbf7198fa5dfdac366f9e5f79b84d9c72f3ee (patch)
tree221c2c04712e50f4bc7bba5b15798b4864375c03 /test/indent
parent9843415589b51e6360e5428636b0f2fcc88e9c5b (diff)
downloademacs-369bbf7198fa5dfdac366f9e5f79b84d9c72f3ee.tar.gz
emacs-369bbf7198fa5dfdac366f9e5f79b84d9c72f3ee.zip
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
with parameters" example. Simplify the "is it block or is it hash" check, but also make it more thorough. * test/indent/ruby.rb: Fix syntax error in the latest example.
Diffstat (limited to 'test/indent')
-rw-r--r--test/indent/ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 7601738dc76..1fd19cf34d4 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -40,7 +40,7 @@ foo = { # ruby-deep-indent-disabled
40 a: b 40 a: b
41} 41}
42 42
43foo = { a: b 43foo = { a: b,
44 a1: b1 44 a1: b1
45 } 45 }
46 46