Skip to content

Commit

Permalink
correct an error in test-utils.R
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoBosh committed Feb 22, 2020
1 parent 6e1efdd commit 2a1cdff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ test_that("functions in utils.R work ok", {

expect_equal(.capturePrint(1:4), "[1] 1 2 3 4")

mo <- lm(dist ~ speed, data = cars)
expect_equal(diagOfVcov(mo), diag(vcov(mo)))
})

0 comments on commit 2a1cdff

Please sign in to comment.