diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-09-02 04:44:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-09-02 04:44:08 +0900 |
| commit | 1b5d20a39b2c5720d83a8eaf3d2227deb46a7c0d (patch) | |
| tree | 230a5de997b6a7216f697a06f8f18bd552d96e77 /container/initmkdir_test.go | |
| parent | 49600a6f46d99ff35d883381670548de1f01846e (diff) | |
container/dispatcher: stub.Call initialisation helper function
This keeps composites analysis happy without making the test cases (too) bloated.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/initmkdir_test.go')
| -rw-r--r-- | container/initmkdir_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/initmkdir_test.go b/container/initmkdir_test.go index 1a8a8f15..0d3f302a 100644 --- a/container/initmkdir_test.go +++ b/container/initmkdir_test.go @@ -13,7 +13,7 @@ func TestMkdirOp(t *testing.T) { Path: MustAbs("/.hakurei"), Perm: 0500, }, nil, nil, []stub.Call{ - {"mkdirAll", stub.ExpectArgs{"/sysroot/.hakurei", os.FileMode(0500)}, nil, nil}, + call("mkdirAll", stub.ExpectArgs{"/sysroot/.hakurei", os.FileMode(0500)}, nil, nil), }, nil}, }) |
