Skip to content

Commit 0c1318b

Browse files
move some tests to new dir indention_fun_calls
1 parent e7d6644 commit 0c1318b

File tree

7 files changed

+201
-0
lines changed

7 files changed

+201
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
call(a,
2+
b)
3+
4+
call(a,
5+
b = 3)
6+
7+
call(a = 1, b =
8+
3)
9+
10+
call(a =
11+
1, b = 3)
12+
13+
call(a = 1,
14+
b = 3
15+
)
16+
17+
call(
18+
a = 1,
19+
b = 3
20+
)
21+
22+
call(
23+
a =
24+
1,
25+
b = 3
26+
)
27+
28+
call(
29+
a =
30+
1, b = 3
31+
)
32+
33+
call(
34+
a =
35+
1, b =
36+
3
37+
)

tests/testthat/indention_fun_calls/non_strict_calls-in_tree

Lines changed: 121 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
call(a,
2+
b)
3+
4+
call(a,
5+
b = 3)
6+
7+
call(a = 1, b =
8+
3)
9+
10+
call(a =
11+
1, b = 3)
12+
13+
call(a = 1,
14+
b = 3
15+
)
16+
17+
call(
18+
a = 1,
19+
b = 3
20+
)
21+
22+
call(
23+
a =
24+
1,
25+
b = 3
26+
)
27+
28+
call(
29+
a =
30+
1, b = 3
31+
)
32+
33+
call(
34+
a =
35+
1, b =
36+
3
37+
)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
context("test-indention_fun_calls.R")
2+
3+
test_that("edge cases work", {
4+
expect_warning(test_collection("indention_fun_calls",
5+
transformer = style_text, strict = FALSE), NA)
6+
})

0 commit comments

Comments
 (0)