From 70064ea11702f3dde168a72ee8fd1d44122574dd Mon Sep 17 00:00:00 2001 From: wlandau Date: Wed, 9 Oct 2024 10:36:24 -0400 Subject: [PATCH] test --- tests/testthat/test-utils_options.R | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/testthat/test-utils_options.R 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" + ) +})