Skip to content

Commit

Permalink
relax test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed May 6, 2021
1 parent 0e764f7 commit cab3a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Expand Up @@ -55,7 +55,7 @@
within a learnr tutorial (#790).
* `#>` is recognized as an output marker and no space is added after `#` (#771).
* R code chunks in nested non-R chunks in R markdown don't yield an error
anymore when document is styled, chunks are still not styled (#788).
anymore when document is styled, chunks are still not styled (#788, #794).
* `multi_line` attribute in parse table is now integer, not boolean (#782).
* style guide used in Addin is verified when set via R option (#789).
* improve pkgdown author URLs (#775).
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-cache-high-level-api.R
Expand Up @@ -120,7 +120,7 @@ capture.output(test_that("no speedup when tranformer changes", {
first <- system.time(style_text(text, transformers = t1))
t1 <- tidyverse_style(indent_by = 4)
second <- system.time(style_text(text, transformers = t1))
expect_false(first["elapsed"] / 1.2 > second["elapsed"])
expect_false(first["elapsed"] / 1.3 > second["elapsed"])
}))


Expand Down

0 comments on commit cab3a8d

Please sign in to comment.