Skip to content

Commit

Permalink
comparing data frames with raw columns gives error now
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Müller committed Jun 1, 2016
1 parent f5dedb2 commit 9d64b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-equality.r
Expand Up @@ -100,9 +100,9 @@ test_that("equality handles data frames with 0 columns (#1506)", {
expect_equal(df0, df0)
})

test_that("equality fails gracefully in presence of raw columns", {
test_that("equality cannot be checked in presence of raw columns", {
df <- data_frame(a = 1:3, b = as.raw(1:3))
expect_match(all.equal(df, df), "Cannot handle.*raw.*raw")
expect_error(all.equal(df, df), "Unsupported vector type raw")
})

test_that("equality returns a message for convert = TRUE", {
Expand Down

0 comments on commit 9d64b06

Please sign in to comment.