File: test-errors.R

package info (click to toggle)
r-cran-pkgconfig 2.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 144 kB
  • sloc: sh: 13; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10

context("Errors")

test_that("Arguments must be named", {

  expect_error(
    set_config("foo" = "bar", "foobar"),
    "Some parameters are not named"
  )
})