Skip to content

Commit

Permalink
fixed a test on guessType
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Mar 19, 2015
1 parent 2a9836c commit cf057ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_guessType.r
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ test_that("guessType", {
expect_true(grepl("matrix'$", checkLogical(xm)))
expect_true(grepl("array'$", checkLogical(xa)))
expect_true(grepl("frame'$", checkLogical(xf)))
expect_true(grepl("myclass'$", checkLogical(setClasses(1, "myclass"))))
x = 1; class(x) = "myclass"; expect_true(grepl("myclass'$", checkLogical(x)))
})

0 comments on commit cf057ff

Please sign in to comment.