Skip to content

Commit 06bdcfb

Browse files
Update tests/testthat/test-add_dockerfiles_renv.R
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b57c4ee commit 06bdcfb

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

tests/testthat/test-add_dockerfiles_renv.R

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,16 @@ test_that("add_dockerfile_with_renv_ works", {
8787
"Dockerfile"
8888
))
8989

90-
expect_true(
91-
any(grepl("library\\(shinyexample\\)",dock))
92-
)
93-
expect_true(
94-
any(grepl("golem.app.prod=TRUE",dock))
95-
)
96-
dock_dev <- readLines(file.path(dirname(dockerfile_with_renv_output_dev),"Dockerfile"))
90+
expect_true(
91+
any(grepl("library\\(shinyexample\\)", dock))
92+
)
93+
expect_true(
94+
any(grepl("golem.app.prod=TRUE", dock))
95+
)
96+
dock_dev <- readLines(file.path(
97+
dirname(dockerfile_with_renv_output_dev),
98+
"Dockerfile"
99+
))
97100

98101
expect_true(
99102
any(grepl("library\\(shinyexample\\)",dock_dev))

0 commit comments

Comments
 (0)