Skip to content

Commit

Permalink
chore: fixed tests presumably broken by update to dplyr
Browse files Browse the repository at this point in the history
  • Loading branch information
timcadman committed May 9, 2024
1 parent 66a677a commit c52c0ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-lm-tab.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ ipd_rename_not_expected <- ipd_rename_expected %>%
test_that("rename_ipd throws error if provided incorrect variable names", {
expect_error(
rename_ipd(ipd_rename_not_expected),
"Can't subset columns that don't exist.\n✖ Column `variable` doesn't exist.",
"Can't select columns that don't exist.\n✖ Column `variable` doesn't exist.",
fixed = TRUE
)
})
Expand Down Expand Up @@ -209,7 +209,7 @@ slma_rename_not_expected <- slma_rename_expected %>%
test_that("rename_glm_slma throws error if provided incorrect variable names", {
expect_error(
rename_glm_slma(slma_rename_not_expected),
"Can't subset columns that don't exist.\n✖ Column `variable` doesn't exist.",
"Can't select columns that don't exist.\n✖ Column `variable` doesn't exist.",
fixed = TRUE
)
})
Expand Down Expand Up @@ -274,7 +274,7 @@ lmer_rename_not_expected <- lmer_rename_expected %>%
test_that("rename_lmer_slma throws error if provided incorrect variable names", {
expect_error(
rename_lmer_slma(lmer_rename_not_expected),
"Can't subset columns that don't exist.\n✖ Column `variable` doesn't exist.",
"Can't select columns that don't exist.\n✖ Column `variable` doesn't exist.",
fixed = TRUE
)
})
Expand Down Expand Up @@ -389,7 +389,7 @@ pooled_rename_not_expected <- pooled_rename_expected %>%
test_that("rename_slma_pooled throws error if provided incorrect variable names", {
expect_error(
rename_slma_pooled(pooled_rename_not_expected),
"Can't subset columns that don't exist.\n✖ Column `variable` doesn't exist.",
"Can't select columns that don't exist.\n✖ Column `variable` doesn't exist.",
fixed = TRUE
)
})
Expand Down

0 comments on commit c52c0ae

Please sign in to comment.