tests/testthat/_snaps/expect-constant.md

logical tests act as expected

FALSE is not TRUE

`actual`:   [32mFALSE[39m
`expected`: [32mTRUE[39m
TRUE is not FALSE

`actual`:   [32mTRUE[39m 
`expected`: [32mFALSE[39m

expect_null works

1L is not NULL

`actual` is [32man integer vector[39m (1)
`expected` is [32mNULL[39m
environment() is not NULL

`actual` is [32man environment[39m
`expected` is [32mNULL[39m


r-lib/testthat documentation built on Feb. 18, 2024, 8:59 p.m.