We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71425ee + f5ab890 commit d3a8d9cCopy full SHA for d3a8d9c
tests/testthat/test-assign_arg_list.R
@@ -0,0 +1,6 @@
1
+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