Skip to content

Commit

Permalink
oops forgot to define y. 🍤
Browse files Browse the repository at this point in the history
  • Loading branch information
romainfrancois committed Aug 31, 2015
1 parent e81f27b commit 1405946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-summarise.r
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ test_that("summarise correctly handles NA groups (#1261)", {

test_that("hybrid max works when not used on columns (#1369)", {
df <- data_frame(x = 1:1000)
y <- 1:10
expect_equal( summarise(df, z = max(y))$z, 10 )
expect_equal( summarise(df, z = max(10))$z, 10 )
})

0 comments on commit 1405946

Please sign in to comment.