Skip to content

Commit

Permalink
Update error test
Browse files Browse the repository at this point in the history
  • Loading branch information
markfairbanks committed Oct 12, 2022
1 parent 2d59f0e commit 7756b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-step-colorder-relocate.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test_that("no .before/.after moves to front", {
test_that("can only supply one of .before and .after", {
dt <- lazy_dt(data.table(x = 1, y = 1), "DT")

expect_error(relocate(dt, y, .before = x, .after = x), "only one")
expect_error(relocate(dt, y, .before = x, .after = x))
})

test_that("relocate() respects order specified by ...", {
Expand Down

0 comments on commit 7756b4f

Please sign in to comment.