We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 184c586 commit 662228dCopy full SHA for 662228d
1 file changed
tests/testthat/test-helpers.R
@@ -108,5 +108,5 @@ test_that("knitr hook gets applied", {
108
"Sys.sleep(0.2)",
109
"```"
110
)
111
- expect_output(knitr::knit(text = mock_doc, quiet = TRUE), "global timer 0.2")
+ expect_output(knitr::knit(text = mock_doc, quiet = TRUE), "global timer [0-9\\.]* secs elapsed")
112
})
0 commit comments