File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 27
27
28
28
* ` .onLoad() ` method no longer broken with {cli} >= 3.1 (#893 ).
29
29
* Piped function without brackets ` substitute(x %>% y) ` don't get ` () ` added
30
- anymore, as this can change outcome of the code (#876 ).
30
+ anymore for one level deep (not more yet, see #889 ), as this can change
31
+ outcome of the code (#876 ).
31
32
* rules that add tokens don't break stylerignore sequences anymore (#891 ).
32
33
* Add vignette on distributing style guide (#846 , #861 ).
33
34
* Alignment detection respects stylerignore (#850 ).
Original file line number Diff line number Diff line change @@ -477,8 +477,8 @@ test_that("Can properly determine style_after_saving", {
477
477
})
478
478
479
479
test_that(" Can display warning on unset styler cache" , {
480
- withr :: local_seed(7 )
481
480
withr :: local_options(styler.cache_root = NULL )
481
+ withr :: local_seed(7 )
482
482
expect_warning(
483
483
ask_to_switch_to_non_default_cache_root(ask = TRUE ),
484
484
' options(styler.cache_root = "styler-perm")' ,
@@ -487,7 +487,7 @@ test_that("Can display warning on unset styler cache", {
487
487
})
488
488
489
489
test_that(" Can display warning on unset styler cache" , {
490
+ withr :: local_options(styler.cache_root = " styler-perm" )
490
491
withr :: local_seed(7 )
491
- withr :: local_options(" styler.cache_root = NULL" )
492
492
expect_silent(ask_to_switch_to_non_default_cache_root(ask = TRUE ))
493
493
})
You can’t perform that action at this time.
0 commit comments