Skip to content

Commit d5c3498

Browse files
committed
Revert "satisfy the linter"
This reverts commit 5612df0.
1 parent 85e6530 commit d5c3498

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

tests/testthat/test-key_colnames.R

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,11 @@ test_that("`key_colnames` on `epi_df`s and similar tibbles works as expected", {
8585

8686
# We can exclude keys:
8787
expect_equal(
88-
key_colnames(
89-
gat_tbl, geo_keys = "geo_value", other_keys = "age_group",
90-
time_keys = "time_value", exclude = c("time_value")
91-
),
88+
key_colnames(gat_tbl, geo_keys = "geo_value", other_keys = "age_group", time_keys = "time_value", exclude = c("time_value")),
9289
c("geo_value", "age_group")
9390
)
9491
expect_equal(
95-
key_colnames(
96-
gat_tbl, geo_keys = "geo_value", other_keys = "age_group",
97-
time_keys = "time_value", exclude = c("geo_value", "time_value")
98-
),
92+
key_colnames(gat_tbl, geo_keys = "geo_value", other_keys = "age_group", time_keys = "time_value", exclude = c("geo_value", "time_value")),
9993
c("age_group")
10094
)
10195
expect_equal(
@@ -109,10 +103,7 @@ test_that("`key_colnames` on `epi_df`s and similar tibbles works as expected", {
109103

110104
# Using `extra_keys =` is soft-deprecated and routes to `other_keys =`:
111105
expect_warning(
112-
gat_tbl_extra_keys_res <- key_colnames(
113-
gat_tbl, geo_keys = "geo_value",
114-
time_keys = "time_value", extra_keys = "age_group"
115-
),
106+
gat_tbl_extra_keys_res <- key_colnames(gat_tbl, geo_keys = "geo_value", time_keys = "time_value", extra_keys = "age_group"),
116107
class = "lifecycle_warning_deprecated"
117108
)
118109
expect_equal(gat_tbl_extra_keys_res, c("geo_value", "age_group", "time_value"))

0 commit comments

Comments
 (0)