We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22a632a commit b346938Copy full SHA for b346938
1 file changed
spec/lib/rufo/formatter_source_specs/align_chained_calls.rb.spec
@@ -268,3 +268,13 @@ context "no sidecar/archive" do
268
.and_return(Uploader::Result.new(success: true))
269
end
270
271
+
272
+#~# ORIGINAL bug_277
273
+a.map &method(:foo)
274
+ .map do |x| x + 1; end
275
+ .map { _1 * 2 }
276
277
+#~# EXPECTED
278
279
280
0 commit comments