Skip to content

Commit 2758fd7

Browse files
committed
up tests
1 parent 8373f37 commit 2758fd7

File tree

9 files changed

+47
-48
lines changed

9 files changed

+47
-48
lines changed

tests/testthat/indention_multiple/overall-in.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ a <- function(x) {
1717
c(
1818
list(x + 2),
1919
c(c(
20-
26 ^ 2, # FIXME ^ operator has to be surrounded by one space (or none?!), never multiple
20+
26 ^ 2,
2121
8,
2222
7
2323
)))

tests/testthat/indention_multiple/overall-in_tree

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

tests/testthat/indention_multiple/overall-out.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ a <- function(x) {
1717
c(
1818
list(x + 2),
1919
c(c(
20-
26 ^ 2, # FIXME ^ operator has to be surrounded by one space (or none?!), never multiple
20+
26^2,
2121
8,
2222
7
2323
))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1 + +1 - 3 / 23 * 3 ^ 4
1+
1 + +1 - 3 / 23 * 3 ^4
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1 + +1 - 3 / 23 * 3 ^ 4
1+
1 + +1 - 3 / 23 * 3^4

tests/testthat/strict/non_strict-out.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test <- function() {
6565
a > b
6666
a * b
6767
a / b
68-
a ^ b
68+
a^b
6969
a & b
7070
a | b
7171
a := b

tests/testthat/strict/strict-out.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test <- function() {
6565
a > b
6666
a * b
6767
a / b
68-
a ^ b
68+
a^b
6969
a & b
7070
a | b
7171
a := b

tests/testthat/token_adding_removing/if_else_non_strict-out.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if (TRUE)
4242

4343
if (FALSE)
4444
1 + a * (31 / 2) else
45-
3 ^ k
45+
3^k
4646

4747

4848
if (TRUE)

tests/testthat/token_adding_removing/if_else_strict-out.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if (TRUE) {
4747
if (FALSE) {
4848
1 + a * (31 / 2)
4949
} else {
50-
3 ^ k
50+
3^k
5151
}
5252

5353

0 commit comments

Comments
 (0)