aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/initbind_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/initbind_test.go')
-rw-r--r--container/initbind_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/initbind_test.go b/container/initbind_test.go
index aedbad5e..38e664d7 100644
--- a/container/initbind_test.go
+++ b/container/initbind_test.go
@@ -143,7 +143,7 @@ func TestBindMountOp(t *testing.T) {
t.Run("unreachable", func(t *testing.T) {
t.Run("nil sourceFinal not optional", func(t *testing.T) {
- wantErr := msg.WrapErr(os.ErrClosed, "impossible bind state reached")
+ wantErr := OpStateError("bind")
if err := new(BindMountOp).apply(nil, nil); !errors.Is(err, wantErr) {
t.Errorf("apply: error = %v, want %v", err, wantErr)
}