not: Negate an expectation

View source: R/expect-that.R

notR Documentation

Negate an expectation

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

not(f)

Arguments

f

an existing expectation function


hadley/testthat documentation built on Feb. 16, 2024, 9:20 p.m.