Skip to content

Commit bed7169

Browse files
must deactivate cache also for external process
1 parent da5fb6a commit bed7169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-parsing.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test_that("repreated parsing solves wrong parent assignment", {
1818
file.copy(path_perm, dir)
1919

2020
sys_call <- paste0(
21-
"R -q -e \"styler::style_file(\\\"", path_temp, "\\\")\""
21+
"R -q -e \"styler::cache_deactivate(); styler::style_file(\\\"", path_temp, "\\\")\""
2222
)
2323
calls_sys(sys_call, intern = FALSE, ignore.stdout = TRUE, ignore.stderr = TRUE)
2424
ref <- xfun::read_utf8(testthat_file("parsing", "repeated_parsing-out.R"))

0 commit comments

Comments
 (0)