Skip to content

Commit 3fc5a19

Browse files
krlmlrhadley
authored andcommitted
don't test error message that is created by tibble (#302)
1 parent c2c1266 commit 3fc5a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-drop_na.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ test_that("errors are raised", {
5050
df <- data_frame(x = c(1, 2, NA), y = c("a", NA, "b"))
5151
expect_error(tidyr::drop_na_(df, NULL), "not a character vector")
5252
expect_error(tidyr::drop_na_(df, 1), "not a character vector")
53-
expect_error(tidyr::drop_na_(df, "z"), "Unknown column")
53+
expect_error(tidyr::drop_na_(df, "z"))
5454
})

0 commit comments

Comments
 (0)