Skip to content
Prev Previous commit
Next Next commit
fix busted test
  • Loading branch information
felixcheung committed Nov 19, 2015
commit dd3f83c6fd7b04c676bbf4ff56692f6567a6d723
2 changes: 1 addition & 1 deletion R/pkg/inst/tests/test_mllib.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test_that("glm and predict", {
# Test stats::predict is working
x <- rnorm(15)
y <- x + rnorm(15)
expect_equal(15, predict(lm(y ~ x)))
expect_equal(length(predict(lm(y ~ x))), 15)
})

test_that("glm should work with long formula", {
Expand Down