diff options
Diffstat (limited to 'helper/bwrap_test.go')
| -rw-r--r-- | helper/bwrap_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/helper/bwrap_test.go b/helper/bwrap_test.go index 9a565a42..0860d57a 100644 --- a/helper/bwrap_test.go +++ b/helper/bwrap_test.go @@ -34,7 +34,7 @@ func TestBwrap(t *testing.T) { h := helper.MustNewBwrap( sc, "fortify", argsWt, argF, - nil, + nil, nil, ) if err := h.Start(); !errors.Is(err, os.ErrNotExist) { @@ -47,7 +47,7 @@ func TestBwrap(t *testing.T) { if got := helper.MustNewBwrap( sc, "fortify", argsWt, argF, - nil, + nil, nil, ); got == nil { t.Errorf("MustNewBwrap(%#v, %#v, %#v) got nil", sc, argsWt, "fortify") @@ -67,7 +67,7 @@ func TestBwrap(t *testing.T) { helper.MustNewBwrap( &bwrap.Config{Hostname: "\x00"}, "fortify", nil, argF, - nil, + nil, nil, ) }) @@ -84,7 +84,7 @@ func TestBwrap(t *testing.T) { helper.MustNewBwrap( sc, "fortify", nil, argF, - nil, + nil, nil, ).StartNotify(make(chan error)))) }) @@ -94,7 +94,7 @@ func TestBwrap(t *testing.T) { h := helper.MustNewBwrap( sc, "crash-test-dummy", nil, argFChecked, - nil, + nil, nil, ) cmd := h.Unwrap() @@ -127,6 +127,6 @@ func TestBwrap(t *testing.T) { }) t.Run("implementation compliance", func(t *testing.T) { - testHelper(t, func() helper.Helper { return helper.MustNewBwrap(sc, "crash-test-dummy", argsWt, argF, nil) }) + testHelper(t, func() helper.Helper { return helper.MustNewBwrap(sc, "crash-test-dummy", argsWt, argF, nil, nil) }) }) } |
