Skip to content

Commit

Permalink
Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Feb 20, 2024
1 parent 80350be commit 731e194
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/test-tar_rep.R
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,10 @@ targets::tar_test("correct RNG state", {
expect_equal(out$seed_hash[rep], digest::digest(.Random.seed))
}
})

targets::tar_test("tar_rep_bind() error handling", {
expect_error(
tar_rep_bind(out = "x", iteration = "none"),
class = "tar_condition_validate"
)
})

0 comments on commit 731e194

Please sign in to comment.