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


Try the testthat package in your browser

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

testthat documentation built on Jan. 21, 2022, 1:10 a.m.