Skip to content

Commit 2d634c3

Browse files
committed
Fix so that claude can run this test file
1 parent 02ccc1a commit 2d634c3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/testthat/test-test.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ test_that("report_default() does its job", {
116116
expect_equal(report_default(NULL), "zero")
117117

118118
withr::local_options(rlang_interactive = TRUE)
119-
expect_equal(report_default(NULL), "html")
119+
if (!is_llm()) {
120+
expect_equal(report_default(NULL), "html")
121+
}
120122

121123
withr::local_envvar(AGENT = 1)
122124
expect_equal(report_default(NULL), "zero")

0 commit comments

Comments
 (0)