Skip to content

Commit

Permalink
fix #219
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Feb 11, 2019
1 parent 0a6438c commit 576f3cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/testthat/test_ParamSet.R
Original file line number Diff line number Diff line change
Expand Up @@ -268,3 +268,9 @@ test_that("required tag", {
expect_string(ps$check(list()), pattern = "Missing")
expect_string(ps$check(list(y = 1)), pattern = "Missing")
})

test_that("required tag, empty param set (#219)", {
ps = ParamSet$new()
ps$ids()
ps$ids(tags = "required")
})

0 comments on commit 576f3cb

Please sign in to comment.