not: Negate an expectation

Description Usage Arguments

View source: R/expect-that.R

Description

This negates an expectation, making it possible to express that you want the opposite of a standard expectation. This function is deprecated and will be removed in a future version.

Usage

1
not(f)

Arguments

f

an existing expectation function


r-lib/testthat documentation built on May 1, 2019, 8:14 a.m.