r-lib / xml2

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

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

Open MichaelChirico opened 10 months ago

MichaelChirico commented 10 months 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_