Skip to content

Commit ebff2a4

Browse files
adapt test content and naming
1 parent 5868c21 commit ebff2a4

15 files changed

+121
-19
lines changed

tests/testthat/indention_operators/eq_assign-out.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
switch(
2-
engine,
1+
switch(engine,
32
pdftex = {
43
if (any) {
54
x
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
call(
2+
2,
3+
3
4+
)
5+
6+
switch(abc,
7+
wei9
8+
)
9+
10+
switch(abc,
11+
wei9
12+
)
13+
14+
if_else(a,
15+
c, v
16+
)
17+
18+
ifelse(x,
19+
y, z
20+
)

tests/testthat/line_breaks_fun_call/switch_ifelse_etc_no_line_break-in_tree

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
call(
2+
2,
3+
3
4+
)
5+
6+
switch(abc,
7+
wei9
8+
)
9+
10+
switch(abc,
11+
wei9
12+
)
13+
14+
if_else(a,
15+
c, v
16+
)
17+
18+
ifelse(x,
19+
y, z
20+
)

0 commit comments

Comments
 (0)