From 9ff376a3a32727657c2504e5dc19a8387fd99d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 13 May 2017 15:23:59 +0200 Subject: [PATCH] don't test error message that is created by tibble --- tests/testthat/test-drop_na.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-drop_na.R b/tests/testthat/test-drop_na.R index 72ce217a1..399a240f3 100644 --- a/tests/testthat/test-drop_na.R +++ b/tests/testthat/test-drop_na.R @@ -50,5 +50,5 @@ test_that("errors are raised", { df <- data_frame(x = c(1, 2, NA), y = c("a", NA, "b")) expect_error(tidyr::drop_na_(df, NULL), "not a character vector") expect_error(tidyr::drop_na_(df, 1), "not a character vector") - expect_error(tidyr::drop_na_(df, "z"), "Unknown column") + expect_error(tidyr::drop_na_(df, "z")) })