diff --git a/tests/testthat/test-utils_options.R b/tests/testthat/test-utils_options.R new file mode 100644 index 0000000..6f63914 --- /dev/null +++ b/tests/testthat/test-utils_options.R @@ -0,0 +1,10 @@ +test_that("invalid options", { + expect_error( + crew_controller_slurm(options_cluster = list()), + class = "crew_error" + ) + expect_error( + crew_options_validate(list()), + class = "crew_error" + ) +})