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

Function TestExclusive

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

Source from the content-addressed store, hash-verified

273}
274
275func TestExclusive(t *testing.T) {
276 c := newTestConsumer(Exclusive())
277
278 if !c.exclusive {
279 t.Error("exclusive should be set")
280 }
281}
282
283func TestNewConsumer(t *testing.T) {
284 var called bool

Callers

nothing calls this directly

Calls 2

newTestConsumerFunction · 0.85
ExclusiveFunction · 0.85

Tested by

no test coverage detected