From 1b5d20a39b2c5720d83a8eaf3d2227deb46a7c0d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 2 Sep 2025 04:44:08 +0900 Subject: container/dispatcher: stub.Call initialisation helper function This keeps composites analysis happy without making the test cases (too) bloated. Signed-off-by: Ophestra --- container/initremount_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/initremount_test.go') diff --git a/container/initremount_test.go b/container/initremount_test.go index 4fb60e18..32a0e8c6 100644 --- a/container/initremount_test.go +++ b/container/initremount_test.go @@ -13,7 +13,7 @@ func TestRemountOp(t *testing.T) { Target: MustAbs("/"), Flags: syscall.MS_RDONLY, }, nil, nil, []stub.Call{ - {"remount", stub.ExpectArgs{"/sysroot", uintptr(1)}, nil, nil}, + call("remount", stub.ExpectArgs{"/sysroot", uintptr(1)}, nil, nil), }, nil}, }) -- cgit v1.3.1