summaryrefslogtreecommitdiff
path: root/local.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-07-13 12:08:20 +0100
committerNick White <git@njw.name>2021-07-13 12:08:20 +0100
commit8c98574edd21759f1882d0ec4240f562039913fd (patch)
treeaab37d5b9a1e39906a17a1d1e2cdd788d8f14444 /local.go
parent45b0c3ed61b1a7b7d18090f483c5d9ff9cddec7b (diff)
Fix up tests a bit
Diffstat (limited to 'local.go')
-rw-r--r--local.go5
1 files changed, 5 insertions, 0 deletions
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))