not: Negates the result of a matcher function

Description Usage Arguments Examples

View source: R/hamcrest.R

Description

Negates the result of a matcher function

Usage

1
not(matcher)

Arguments

matcher

one of the matcher functions, see Details of assertThat.

Examples

1
2
3
4
## Not run: 
assertThat(1, not(identicalTo(2)))

## End(Not run)

bedatadriven/hamcrest documentation built on Dec. 1, 2019, 1:49 p.m.