Skip to content

Commit 3400e9a

Browse files
Don't autoformat; again
1 parent 589a33b commit 3400e9a

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

tests/testthat/test-public_api.R

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -130,21 +130,18 @@ test_that("styler can style Rmd file", {
130130
}))
131131

132132
capture_output(expect_warning(
133-
styled <- style_file(testthat_file("public-api", "xyzfile_rmd",
134-
"random2.Rmd"), strict = FALSE)
133+
styled <- style_file(testthat_file("public-api", "xyzfile_rmd", "random2.Rmd"), strict = FALSE)
135134
))
136135
expect_false(styled$changed)
137136
})
138137

139138
test_that("styler handles malformed Rmd file and invalid R code in chunk", {
140139
capture_output(expect_warning(
141-
style_file(testthat_file("public-api", "xyzfile_rmd", "random3.Rmd"), strict
142-
= FALSE)
140+
style_file(testthat_file("public-api", "xyzfile_rmd", "random3.Rmd"), strict = FALSE)
143141
))
144142

145143
capture_output(expect_warning(
146-
style_file(testthat_file("public-api", "xyzfile_rmd", "random4.Rmd"), strict
147-
= FALSE)
144+
style_file(testthat_file("public-api", "xyzfile_rmd", "random4.Rmd"), strict = FALSE)
148145
))
149146
})
150147

@@ -290,21 +287,18 @@ test_that("styler can style Rnw file", {
290287
}))
291288

292289
capture_output(expect_warning(
293-
styled <- style_file(testthat_file("public-api", "xyzfile-rnw",
294-
"random2.Rnw"), strict = FALSE)
290+
styled <- style_file(testthat_file("public-api", "xyzfile-rnw", "random2.Rnw"), strict = FALSE)
295291
))
296292
expect_false(styled$changed)
297293
})
298294

299295
test_that("styler handles malformed Rnw file and invalid R code in chunk", {
300296
capture_output(expect_warning(
301-
style_file(testthat_file("public-api", "xyzfile-rnw", "random3.Rnw"), strict
302-
= FALSE)
297+
style_file(testthat_file("public-api", "xyzfile-rnw", "random3.Rnw"), strict = FALSE)
303298
))
304299

305300
capture_output(expect_warning(
306-
style_file(testthat_file("public-api", "xyzfile-rnw", "random4.Rnw"), strict
307-
= FALSE)
301+
style_file(testthat_file("public-api", "xyzfile-rnw", "random4.Rnw"), strict = FALSE)
308302
))
309303
})
310304

0 commit comments

Comments
 (0)