Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsocolar committed Dec 4, 2023
1 parent 0246afd commit f4d4d12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test-fitted_flocker.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ test_that("fitted_flocker works correctly", {
expect_identical(test_out2, test_out3)

# check error for missing predictor column
expect_error(fitted_flocker(example_flocker_model_single, new_data = newdat[,-1]),
"new_data is missing columns required by flocker_fit")
expect_error(fitted_flocker(example_flocker_model_single, new_data = newdat[,-1]))

# check non-summary version:
test_out <- fitted_flocker(example_flocker_model_single)
Expand Down

0 comments on commit f4d4d12

Please sign in to comment.