Skip to content

Commit 193e772

Browse files
add failing test
1 parent 6d6131b commit 193e772

File tree

3 files changed

+33
-20
lines changed

3 files changed

+33
-20
lines changed

tests/testthat/line_breaks_and_other/ggplot2-in.R

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

3838
g()[2] + x[1]
39+
40+
# don't do anything on unary + and function call
41+
+sin(x)

tests/testthat/line_breaks_and_other/ggplot2-in_tree

Lines changed: 29 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/line_breaks_and_other/pipe-line-breaks-in_tree

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)