Skip to content

Commit e3d3adb

Browse files
exclude unary plus from ggplot2 rule.
1 parent 6d5a670 commit e3d3adb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testthat/line_breaks_and_other/ggplot2-out.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ x[1] + c()
4545
g() + x[1]
4646

4747
g()[2] + x[1]
48+
49+
# don't do anything on unary + and function call
50+
+sin(x)

0 commit comments

Comments
 (0)