aboutsummaryrefslogtreecommitdiff
path: root/doc/next/6-stdlib/99-minor/testing/fstest/63675.md
blob: 1a3552d50d95a667248540ef1d77b03712a8b613 (plain)
1
2
3
4
[`TestFS`](/pkg/testing/fstest#TestFS) now returns a structured
error that can be unwrapped (via method `Unwrap() []error`). This allows
inspecting errors using [`errors.Is`](/pkg/errors#Is) or
[`errors.As`](/pkg/errors#As).