MCPcopy
hub / github.com/segmentio/ksuid / testCompressedSetNil

Function testCompressedSetNil

set_test.go:264–270  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

262}
263
264func testCompressedSetNil(t *testing.T) {
265 set := CompressedSet(nil)
266
267 for it := set.Iter(); it.Next(); {
268 t.Errorf("too many ids returned by the iterator of a nil compressed set: %s", it.KSUID)
269 }
270}
271
272func testCompressedSetConcat(t *testing.T) {
273 ksuids := [100]KSUID{}

Callers

nothing calls this directly

Calls 3

CompressedSetTypeAlias · 0.85
IterMethod · 0.80
NextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…