We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f2fb31 commit f5ab890Copy full SHA for f5ab890
tests/testthat/test-assign_arg_list.R
@@ -1,3 +1,6 @@
1
-test_that("Stop when errors occur",{
+test_that("First argument must be a list",{
2
expect_error(assign_arg_list(c(1,2,3)))
3
})
4
+test_that("All arguments should be named",{
5
+ expect_error(assign_arg_list(list(1,2)))
6
+})
0 commit comments