aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/next/6-stdlib/99-minor/testing/fstest/63675.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/next/6-stdlib/99-minor/testing/fstest/63675.md b/doc/next/6-stdlib/99-minor/testing/fstest/63675.md
new file mode 100644
index 0000000000..1a3552d50d
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/testing/fstest/63675.md
@@ -0,0 +1,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).