File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ test_that("top-level test: Caches top-level expressions efficiently on style_tex
22
22
skip_on_cran()
23
23
skip_on_covr()
24
24
expect_lt(
25
- partially_cached_benchmark [" elapsed" ] * 2.4 ,
25
+ partially_cached_benchmark [" elapsed" ] * 1.5 ,
26
26
not_cached_benchmark [" elapsed" ]
27
27
)
28
- expect_lt(full_cached_benchmark [" elapsed" ] * 45 , benchmark [" elapsed" ])
28
+ expect_lt(full_cached_benchmark [" elapsed" ] * 35 , benchmark [" elapsed" ])
29
29
})
30
30
31
31
@@ -37,5 +37,5 @@ test_that("roxygen code examples are written to cache as whole expressions bring
37
37
# don't use full cache, only roxygen cache
38
38
styled [1 ] <- " #' This is a nother text"
39
39
second <- system.time(style_text(styled ))
40
- expect_gt(first [" elapsed" ], 4 * second [" elapsed" ])
40
+ expect_gt(first [" elapsed" ], second [" elapsed" ] * 2.5 )
41
41
})
You can’t perform that action at this time.
0 commit comments