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

Function TestAutoTag

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

Source from the content-addressed store, hash-verified

18}
19
20func TestAutoTag(t *testing.T) {
21 c := newTestConsumer(AutoTag())
22
23 if c.tag == "" {
24 t.Error("tag should be set")
25 }
26}
27
28func TestConsumer_Cancel(t *testing.T) {
29 var stopped bool

Callers

nothing calls this directly

Calls 2

newTestConsumerFunction · 0.85
AutoTagFunction · 0.85

Tested by

no test coverage detected