diff options
Diffstat (limited to 'system/dispatcher_test.go')
| -rw-r--r-- | system/dispatcher_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/dispatcher_test.go b/system/dispatcher_test.go index 7bd4e6db..96769293 100644 --- a/system/dispatcher_test.go +++ b/system/dispatcher_test.go @@ -273,6 +273,14 @@ func (k *kstub) remove(name string) error { stub.CheckArg(k.Stub, "name", name, 0)) } +func (k *kstub) println(v ...any) { + k.Helper() + k.Expects("println") + if !stub.CheckArgReflect(k.Stub, "v", v, 0) { + k.FailNow() + } +} + func (k *kstub) aclUpdate(name string, uid int, perms ...acl.Perm) error { k.Helper() return k.Expects("aclUpdate").Error( |
