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
Copy file name to clipboardExpand all lines: NEWS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# testthat (development version)
2
2
3
+
*`expect_snapshot()` and friends will now fail when creating a new snapshot on CI. This is usually a signal that you've forgotten to run it locally before committing (#1461).
4
+
*`expect_snapshot_value()` can now handle expressions that generate `-` (#1678) or zero length atomic vectors (#2042).
3
5
*`expect_matches()` failures should be a little easier to read (#2135).
4
6
* New `local_on_cran(TRUE)` allows you to simulate how your tests will run on CRAN (#2112).
5
7
*`expect_no_*()` now executes the entire code block, rather than stopping at the first message or warning (#1991).
0 commit comments