Skip to content

Commit cc8e40e

Browse files
fix testthat import
1 parent 9f4b22f commit cc8e40e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/testing-public-api.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ test_dry <- function(path, styler, styled = FALSE) {
5151
testthat::expect_true(identical(before, readLines(path)))
5252

5353
if (styled) {
54-
expect_error(styler(path, dry = "fail"), NA)
54+
testthat::expect_error(styler(path, dry = "fail"), NA)
5555
} else {
56-
expect_error(styler(path, dry = "fail"), "would be modified")
56+
testthat::expect_error(styler(path, dry = "fail"), "would be modified")
5757
}
58-
expect_error(styler(path, dry = "other option"), "one of")
58+
testthat::expect_error(styler(path, dry = "other option"), "one of")
5959
}

0 commit comments

Comments
 (0)