summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2014-03-21 06:26:39 +0200
committerDmitry Gutov <dgutov@yandex.ru>2014-03-21 06:26:39 +0200
commit1fc8f6559a8ef1df2f55a12d6dd70ee62f34f1f6 (patch)
treead0019e034c09c9767c2f5eb77011b1f8e20ece4 /test
parentdada060d9f65ce57fca99bef6e5a69ee88e126cf (diff)
downloademacs-1fc8f6559a8ef1df2f55a12d6dd70ee62f34f1f6.tar.gz
Fix bug#17050
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Add indentation rule for ` @ '.
Diffstat (limited to 'test')
-rw-r--r--test/indent/ruby.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 2ca0e482797..99482433145 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -379,3 +379,20 @@ foo(:bar =>
'd' => %w(e f)
}
}
+
+# Bug#17050
+
+return render json: {
+ errors: { base: [message] },
+ copying: copying
+ },
+ status: 400
+
+top test(
+ some,
+ top,
+ test)
+
+foo bar, {
+ tee: qux
+ }