We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0bd3c commit fa1a476Copy full SHA for fa1a476
tests/testthat/test-assign_arg_list.R
@@ -4,3 +4,8 @@ test_that("First argument must be a list",{
4
test_that("All arguments should be named",{
5
expect_error(assign_arg_list(list(1,2)))
6
})
7
+test_that("assign_arg_list works as intended",{
8
+ assign_arg_list(list(a="dog",b=2))
9
+ expect_identical(a,"dog")
10
+ expect_identical(b,2)
11
+})
0 commit comments