tests/testthat/test-values.R

context("values")

describe("substitute values", {
  it("can fill in values", {
    v <- validator(x > 1)
    res <- substitute_values(v, list(x=2))
    expect_equivalent(list(), res)
  })
})

Try the errorlocate package in your browser

Any scripts or data that you put into this service are public.

errorlocate documentation built on Oct. 1, 2023, 1:08 a.m.