Skip to content

Commit 3c42193

Browse files
committed
Update snaps
1 parent b9aa792 commit 3c42193

File tree

5 files changed

+31
-289
lines changed

5 files changed

+31
-289
lines changed

tests/testthat/_snaps/expect-comparison.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# useful output when numbers are very small
22

3-
1.1 * x is not less than `x`.
3+
1.1 * x (1.1e-05) is not less than `x` (1e-05).
44
0.0000110 - 0.0000100 = 0.0000010 > 0
55

66
---
77

8-
`x` is not strictly greater than 1.1 * x.
8+
`x` (1e-05) is not strictly greater than 1.1 * x (1.1e-05).
99
0.0000100 - 0.0000110 = -0.0000010 <= 0
1010

1111
# useful output when difference is zero
1212

13-
`x` is not strictly less than 100.
13+
`x` (100) is not strictly less than 100.
1414
100.0 - 100.0 = 0.0 >= 0
1515

1616
# useful output when differnce is large
1717

18-
`x` is not strictly less than 0.001.
18+
`x` (100) is not strictly less than 0.001.
1919
100.000 - 0.001 = 99.999 >= 0
2020

2121
# comparison must yield a single logical

tests/testthat/_snaps/expect-inheritance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
# expect_r6_class generates useful failures
5151

52-
`x` is not an R6 object.
52+
`x` (1) is not an R6 object.
5353

5454
# expect_r6_class validates its inputs
5555

tests/testthat/_snaps/expect-named.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
# provide useful feedback on failure
22

3-
Names of c(a = 1) (`actual`) and c("a", "b") (`expected`) don't have the same values.
3+
Names of c(a = 1) (c(a = 1)) doesn't have the same values as c("a", "b").
44
* Only in `expected`: "b"
55

66

77
---
88

9-
Names of c(a = 1, b = 1) (`actual`) and c("a") (`expected`) don't have the same values.
9+
Names of c(a = 1, b = 1) doesn't have the same values as c("a") ("a").
1010
* Only in `actual`: "b"
1111

1212

1313
---
1414

15-
Names of c(a = 1) (`actual`) and c("b") (`expected`) don't have the same values.
15+
Names of c(a = 1) (c(a = 1)) doesn't have the same values as c("b") ("b").
1616
* Only in `actual`: "a"
1717
* Only in `expected`: "b"
1818

1919

2020
---
2121

22-
Names of c(a = 1) (`actual`) is not equal to c("a", "b") (`expected`).
22+
Names of c(a = 1) (c(a = 1)) is not equal to c("a", "b").
2323

2424
`actual`: "a"
2525
`expected`: "a" "b"
2626

2727
---
2828

29-
Names of c(a = 1, b = 1) (`actual`) is not equal to c("a") (`expected`).
29+
Names of c(a = 1, b = 1) is not equal to c("a") ("a").
3030

3131
`actual`: "a" "b"
3232
`expected`: "a"
3333

3434
---
3535

36-
Names of c(a = 1) (`actual`) is not equal to c("b") (`expected`).
36+
Names of c(a = 1) (c(a = 1)) is not equal to c("b") ("b").
3737

3838
`actual`: "a"
3939
`expected`: "b"

0 commit comments

Comments
 (0)