Skip to content

Commit f5ab890

Browse files
committed
Updated test
1 parent 0f2fb31 commit f5ab890

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/testthat/test-assign_arg_list.R

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
test_that("Stop when errors occur",{
1+
test_that("First argument must be a list",{
22
expect_error(assign_arg_list(c(1,2,3)))
33
})
4+
test_that("All arguments should be named",{
5+
expect_error(assign_arg_list(list(1,2)))
6+
})

0 commit comments

Comments
 (0)