summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/indent/ruby.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 0c432b7ca20..1d2eb08db94 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -285,9 +285,14 @@ bar 1 do
end
end
-# Failing with SMIE:
-
foo ||
begin
bar
end
+
+def qux
+ foo ||= begin
+ bar
+ tee
+ end
+end