Skip to content

Commit 0864ea5

Browse files
committed
Try opt out coloring
1 parent c9a66cd commit 0864ea5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-quarto.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ test_that("quarto_run gives guidance in error", {
1717
test_that("quarto_run report full quarto cli error message", {
1818
skip_if_no_quarto()
1919
local_reproducible_output(width = 1000)
20+
# Ensure we don't have colors in the output for quarto-cli error
21+
withr::local_envvar(list(R_CLI_NUM_COLORS = 1L))
2022
# https://github.com/quarto-dev/quarto-r/issues/235
2123
tmp_proj <- local_quarto_project(type = "book")
2224
withr::local_dir(tmp_proj)

0 commit comments

Comments
 (0)