From 8c98574edd21759f1882d0ec4240f562039913fd Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 13 Jul 2021 12:08:20 +0100 Subject: Fix up tests a bit --- local.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'local.go') diff --git a/local.go b/local.go index 463fb61..615f9a6 100644 --- a/local.go +++ b/local.go @@ -64,6 +64,11 @@ func (a *LocalConn) Init() error { return nil } +// TestInit does nothing for local connections +func (a *LocalConn) TestInit() error { + return nil +} + // CheckQueue checks for any messages in a queue func (a *LocalConn) CheckQueue(url string, timeout int64) (Qmsg, error) { f, err := os.Open(filepath.Join(a.TempDir, url)) -- cgit v1.2.1-24-ge1ad