Skip to content

Commit 1341f5c

Browse files
adapt tests
1 parent 4af0b40 commit 1341f5c

File tree

6 files changed

+52
-28
lines changed

6 files changed

+52
-28
lines changed

tests/testthat/strict/non_strict-in.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,4 @@ lm(a~b+c,data=NA)
140140
lm(a~.-1,data=NA)
141141
a~b:c
142142
a~b :c
143+
a ~ b : c

tests/testthat/strict/non_strict-in_tree

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

tests/testthat/strict/non_strict-out.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ test <- function() {
135135

136136

137137
# formula
138-
lm(a~b + c, data = NA)
139-
lm(a~. - 1, data = NA)
140-
a~b:c
141-
a~b:c
138+
lm(a ~ b + c, data = NA)
139+
lm(a ~ . - 1, data = NA)
140+
a ~ b:c
141+
a ~ b:c
142+
a ~ b:c

tests/testthat/strict/strict-in.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,5 @@ test <- function() {
139139
lm(a~b+c,data=NA)
140140
lm(a~.-1,data=NA)
141141
a~b:c
142+
a ~ b : c
142143
a~b :c

tests/testthat/strict/strict-in_tree

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

tests/testthat/strict/strict-out.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ test <- function() {
140140

141141

142142
# formula
143-
lm(a~b + c, data = NA)
144-
lm(a~. - 1, data = NA)
145-
a~b:c
146-
a~b:c
143+
lm(a ~ b + c, data = NA)
144+
lm(a ~ . - 1, data = NA)
145+
a ~ b:c
146+
a ~ b:c
147+
a ~ b:c

0 commit comments

Comments
 (0)