We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d43d768 commit 2145136Copy full SHA for 2145136
R/expect-comparison.R
@@ -44,7 +44,7 @@ expect_compare_ <- function(
44
if (!isTRUE(cmp)) {
45
digits <- min_digits(act$val, exp$val)
46
msg <- sprintf(
47
- "%s is %s %s. \n%s - %s = %s %s 0",
+ "%s is %s %s.\n%s - %s = %s %s 0",
48
act$lab,
49
msg,
50
exp$lab,
tests/testthat/_snaps/expect-comparison.md
@@ -1,10 +1,10 @@
1
# useful output when numbers are very small
2
3
- 1.1 * x is not less than `x`.
+ 1.1 * x is not less than `x`.
4
0.0000110 - 0.0000100 = 0.0000010 >= 0
5
6
---
7
8
- `x` is not strictly greater than 1.1 * x.
+ `x` is not strictly greater than 1.1 * x.
9
0.0000100 - 0.0000110 = -0.0000010 < 0
10
0 commit comments