You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/07 11:20:31 UTC

[GitHub] [arrow] thisisnic commented on a change in pull request #9909: ARROW-11752: [R] Replace usage of testthat::expect_is()

thisisnic commented on a change in pull request #9909:
URL: https://github.com/apache/arrow/pull/9909#discussion_r608563789



##########
File path: r/tests/testthat/helper-expectation.R
##########
@@ -23,6 +23,11 @@ expect_data_frame <- function(x, y, ...) {
   expect_equal(as.data.frame(x), y, ...)
 }
 
+expect_r6_class <- function(object, class){
+  expect_s3_class(object, class)
+  expect_s3_class(object, c("R6"))

Review comment:
       Oops, deleted now!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org