r-lib / xml2

Bindings to libxml2
https://xml2.r-lib.org/
Other
220 stars 82 forks source link

Use expect_snapshot()+error=TRUE over expect_snapshot_error() in tests #414

Closed MichaelChirico closed 1 month ago

MichaelChirico commented 1 year ago
          We now prefer `expect_snapshot()` + `error = TRUE` so then you see the code and the error in the snapshot.

_Originally posted by @hadley in https://github.com/r-lib/xml2/pull/412#discussion_r1380091891_