Skip to content

Commit 009a299

Browse files
committed
Fix merge screw up
1 parent 9002290 commit 009a299

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

NEWS.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# testthat (development version)
22

3-
* `expect_snapshot(binary)` is now fully deprecated; it was soft deprecated in v3.0.3.
4-
* `test_files(wrap)` has now been removed; it was deprecated in v3.0.0.
5-
* Make `expect_lt()`, `expect_lte()`, `expect_gt()`, and `expect_gte()` work properly for non-numeric data (#2268)
6-
* New `expect_disjoint()` to check for the absence of values (@stibu81, #1851).
7-
* `expect_all_equal()`, `expect_all_true()`, and `expect_all_false()` are a new family of expectations that checks that every element of a vector has the same value. Compared to using `expect_true(all(...))` they give better failure messages (#1836, #2235).
8-
* Expectations now consistently return the value of the first argument, regardless of whether the expectation succeeds or fails. The primary exception are `expect_message()` and friends which will return the condition. This shouldn't affect existing tests, but will make failures clearer when you chain together multiple expectations (#2246).
9-
* `set_state_inspector()` gains `tolerance` argument and ignores minor FP differences by default (@mcol, #2237).
10-
* `expect_vector()` fails, instead of erroring, if `object` is not a vector (@plietar, #2224).
11-
* New `vignette("mocking")` explains mocking in detail (#1265).
12-
* New `vignette("challenging-functions")` provides an index to other documentation organised by testing challenges (#1265).
133
## Lifecycle changes
144

155
* testthat now requires R 4.1.

0 commit comments

Comments
 (0)