Skip to content

Commit 4d1e73d

Browse files
update test
1 parent 4c413c3 commit 4d1e73d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

r/tests/testthat/test-metadata.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ test_that("metadata keeps attribute of top level data frame", {
136136
})
137137

138138
test_that("metadata of list elements (ARROW-10386)", {
139-
df <- data.frame(x = list(structure(1, foo = "bar"), structure(2, foo = "bar")))
139+
df <- data.frame(x = I(list(structure(1, foo = "bar"), structure(2, foo = "bar"))))
140140
tab <- Table$create(df)
141141
expect_identical(attr(as.data.frame(tab)$x[[1]], "foo"), "bar")
142142
expect_identical(attr(as.data.frame(tab)$x[[2]], "foo"), "bar")

0 commit comments

Comments
 (0)