You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know {waldo} has recently improved "what's the right number of digits to show when compare() fails", so presumably we could re-use that logic here, e.g. compare(act - exp, 0). The specifics may need to be more careful, but I think it's clearly not helpful to have expect_gt() fail with message "Difference: 0".
The text was updated successfully, but these errors were encountered:
testthat/R/expect-comparison.R
Line 39 in 8c2bd6e
Motivation: imbs-hl/ranger#747
I know {waldo} has recently improved "what's the right number of digits to show when
compare()
fails", so presumably we could re-use that logic here, e.g.compare(act - exp, 0)
. The specifics may need to be more careful, but I think it's clearly not helpful to haveexpect_gt()
fail with message "Difference: 0".The text was updated successfully, but these errors were encountered: