diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-29 01:12:02 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-29 01:12:02 +0900 |
| commit | a462341a0a3e1132f3fcdb1efb0f7a56e851a9e1 (patch) | |
| tree | 7780ebb8d871a306ebc4b8bb1205513689f2ebb6 /container/initoverlay_test.go | |
| parent | 84ad9791e2f373d5869b2da6675c70f23deac8a0 (diff) | |
container: repeat and impossible state types
This moves repeated Op errors and impossible internal state errors off of msg.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/initoverlay_test.go')
| -rw-r--r-- | container/initoverlay_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/initoverlay_test.go b/container/initoverlay_test.go index 3a395f0b..e12cffed 100644 --- a/container/initoverlay_test.go +++ b/container/initoverlay_test.go @@ -242,7 +242,7 @@ func TestMountOverlayOp(t *testing.T) { t.Run("unreachable", func(t *testing.T) { t.Run("nil Upper non-nil Work not ephemeral", func(t *testing.T) { - wantErr := msg.WrapErr(fs.ErrClosed, "impossible overlay state reached") + wantErr := OpStateError("overlay") if err := (&MountOverlayOp{ Work: MustAbs("/"), }).early(nil, nil); !errors.Is(err, wantErr) { |
