MCPcopy Create free account
hub / github.com/assembla/cony / TestAutoAck

Function TestAutoAck

consumer_test.go:12–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func TestAutoAck(t *testing.T) {
13 c := newTestConsumer(AutoAck())
14
15 if !c.autoAck {
16 t.Error("autoAck shoud be true")
17 }
18}
19
20func TestAutoTag(t *testing.T) {
21 c := newTestConsumer(AutoTag())

Callers

nothing calls this directly

Calls 2

newTestConsumerFunction · 0.85
AutoAckFunction · 0.85

Tested by

no test coverage detected