Skip to content

Commit

Permalink
Fix nest test
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed May 16, 2016
1 parent e4906fb commit 2876b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-nest.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ test_that("puts data into the correct row", {
test_that("nesting everything yields a simple data frame", {
df <- dplyr::data_frame(x = 1:3, y = c("B", "A", "A"))
out <- nest(df, x, y)
expect_equal(out, dplyr::data_frame(data = list(df)))
expect_equal(out$data, list(df))
})

0 comments on commit 2876b5d

Please sign in to comment.