Skip to content

Commit

Permalink
Update snapshots with latest tidyselect
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Aug 5, 2024
1 parent 349e1d4 commit 20bd93a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Imports:
rlang (>= 1.1.1),
stringr (>= 1.5.0),
tibble (>= 2.1.1),
tidyselect (>= 1.2.0),
tidyselect (>= 1.2.1),
utils,
vctrs (>= 0.5.2)
Suggests:
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/drop-na.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Output
<error/vctrs_error_subscript_type>
Error in `drop_na()`:
! Can't subset columns with `list()`.
! Can't select columns with `list()`.
x `list()` must be numeric or character, not an empty list.

---
Expand All @@ -15,6 +15,6 @@
Output
<error/vctrs_error_subscript_oob>
Error in `drop_na()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `z` doesn't exist.

6 changes: 3 additions & 3 deletions tests/testthat/_snaps/pivot-wide.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Output
<error/vctrs_error_subscript_oob>
Error in `pivot_wider()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `name` doesn't exist.

# `values_from` must be supplied if `value` isn't in `data` (#1240)
Expand All @@ -36,7 +36,7 @@
Output
<error/vctrs_error_subscript_oob>
Error in `pivot_wider()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `value` doesn't exist.

# `names_from` must identify at least 1 column (#1240)
Expand Down Expand Up @@ -165,7 +165,7 @@
Output
<error/vctrs_error_subscript_oob>
Error in `pivot_wider()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `foo` doesn't exist.

# named `id_cols` gives clear error (#1104)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/separate-longer.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
df %>% separate_longer_position(y, width = 1)
Condition
Error in `separate_longer_position()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `y` doesn't exist.
Code
df %>% separate_longer_position(x, width = 1.5)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/separate-wider.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
df %>% separate_wider_regex(y, patterns = c(x = "-"))
Condition
Error in `separate_wider_regex()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `y` doesn't exist.
Code
df %>% separate_wider_regex(x, patterns = ".")
Expand Down

0 comments on commit 20bd93a

Please sign in to comment.