Documentation
¶
Overview ¶
Package testutil holds tiny shared helpers used across the `core/internal/...` test packages. Each helper is exported only because Go requires that for cross-package use; nothing here is part of any production code path.
The helpers in this package MUST NOT grow into a test framework — keep them small and obvious, or move them back next to their callers when only one test package uses them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertErrCode ¶
AssertErrCode fails t when err is not (or does not wrap) a *errcode.Error whose Code equals want. Used by every test package that needs to anchor on the error-code taxonomy contract.
func SkipIfCaseInsensitiveFS ¶
SkipIfCaseInsensitiveFS skips t when the temp filesystem treats `CASEPROBE` and `caseprobe` as the same file — the colliding-name BDD cases (TC-WF-008, TC-STD-006) cannot be staged on case- insensitive volumes (default APFS on macOS, NTFS on Windows). The production logic still runs on case-sensitive filesystems in CI.
Types ¶
This section is empty.