Skip to content

Commit

Permalink
Add test with non-redundant parens and placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Feb 5, 2022
1 parent a6a0310 commit 63e83e1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scalafmt-tests/src/test/resources/rewrite/RedundantParens.stat
Original file line number Diff line number Diff line change
Expand Up @@ -771,3 +771,13 @@ class Toto() {
a
}
}
<<< #3105
foo >>= (_.http(registry, port).map(Option.apply(_)).catchSome {
bar
})
>>>
foo >>= _.http(registry, port)
.map(Option.apply(_))
.catchSome {
bar
}

0 comments on commit 63e83e1

Please sign in to comment.