Skip to content

Commit

Permalink
Align snapshot tests (#6987)
Browse files Browse the repository at this point in the history
* Align snapshot tests

* Bump rlang and cli for snapshot tests

---------

Co-authored-by: Davis Vaughan <davis@posit.co>
  • Loading branch information
krlmlr and DavisVaughan committed Feb 13, 2024
1 parent f35f7a9 commit e74e519
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ BugReports: https://github.com/tidyverse/dplyr/issues
Depends:
R (>= 3.5.0)
Imports:
cli (>= 3.4.0),
cli (>= 3.6.2),
generics,
glue (>= 1.3.2),
lifecycle (>= 1.0.3),
magrittr (>= 1.5),
methods,
pillar (>= 1.9.0),
R6,
rlang (>= 1.1.0),
rlang (>= 1.1.3),
tibble (>= 3.2.0),
tidyselect (>= 1.2.0),
utils,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
Code
group_labels_details(c(a = 1, b = 2))
Output
[1] "`a = 1`, `b = 2`"
[1] "`a = 1` and `b = 2`"

2 changes: 1 addition & 1 deletion tests/testthat/_snaps/summarise.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<error/rlang_error>
Error in `summarise()`:
i In argument: `a = rlang::env(a = 1)`.
i In group 1: `x = 1`, `y = 1`.
i In group 1: `x = 1` and `y = 1`.
Caused by error:
! `a` must be a vector, not an environment.
Code
Expand Down

0 comments on commit e74e519

Please sign in to comment.