Skip to content

Commit

Permalink
up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Feb 23, 2018
1 parent 8373f37 commit 2758fd7
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 48 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/indention_multiple/overall-in.R
Expand Up @@ -17,7 +17,7 @@ a <- function(x) {
c(
list(x + 2),
c(c(
26 ^ 2, # FIXME ^ operator has to be surrounded by one space (or none?!), never multiple
26 ^ 2,
8,
7
)))
Expand Down
79 changes: 39 additions & 40 deletions tests/testthat/indention_multiple/overall-in_tree

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/indention_multiple/overall-out.R
Expand Up @@ -17,7 +17,7 @@ a <- function(x) {
c(
list(x + 2),
c(c(
26 ^ 2, # FIXME ^ operator has to be surrounded by one space (or none?!), never multiple
26^2,
8,
7
))
Expand Down
@@ -1 +1 @@
1 + +1 - 3 / 23 * 3 ^ 4
1 + +1 - 3 / 23 * 3 ^4
@@ -1 +1 @@
1 + +1 - 3 / 23 * 3 ^ 4
1 + +1 - 3 / 23 * 3^4
2 changes: 1 addition & 1 deletion tests/testthat/strict/non_strict-out.R
Expand Up @@ -65,7 +65,7 @@ test <- function() {
a > b
a * b
a / b
a ^ b
a^b
a & b
a | b
a := b
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/strict/strict-out.R
Expand Up @@ -65,7 +65,7 @@ test <- function() {
a > b
a * b
a / b
a ^ b
a^b
a & b
a | b
a := b
Expand Down
Expand Up @@ -42,7 +42,7 @@ if (TRUE)

if (FALSE)
1 + a * (31 / 2) else
3 ^ k
3^k


if (TRUE)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/token_adding_removing/if_else_strict-out.R
Expand Up @@ -47,7 +47,7 @@ if (TRUE) {
if (FALSE) {
1 + a * (31 / 2)
} else {
3 ^ k
3^k
}


Expand Down

0 comments on commit 2758fd7

Please sign in to comment.