Skip to content

Commit 36b5bbd

Browse files
committed
Added test of non-gsplot type in config
1 parent 4413167 commit 36b5bbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testthat/tests-config.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ test_that("formals are correctly retrieved", {
2626
expect_equal(names(config("points")), c("pch", "col"))
2727
expect_equal(length(config("arrows")), 0)
2828
})
29+
30+
test_that("non-existant type hits error", {
31+
expect_error(config("foo"))
32+
})

0 commit comments

Comments
 (0)