diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-18 23:18:26 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-18 23:18:26 +0900 |
| commit | 9d7a19d162e7003ce89804f00c526b77b2328baa (patch) | |
| tree | 115badd81cd1824cfc58bb0c573a210dd5209d73 /helper/container_test.go | |
| parent | 6ba19a7ba5c36a4276dceeab9a5d158c5d9738a0 (diff) | |
container: use more reliable nonexistence
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/container_test.go')
| -rw-r--r-- | helper/container_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/container_test.go b/helper/container_test.go index a65e87f4..71c25bd1 100644 --- a/helper/container_test.go +++ b/helper/container_test.go @@ -15,7 +15,7 @@ import ( func TestContainer(t *testing.T) { t.Run("start empty container", func(t *testing.T) { - h := helper.New(t.Context(), "/nonexistent", argsWt, false, argF, nil, nil) + h := helper.New(t.Context(), container.Nonexistent, argsWt, false, argF, nil, nil) wantErr := "sandbox: starting an empty container" if err := h.Start(); err == nil || err.Error() != wantErr { |
