MCPcopy Index your code
hub / github.com/celzero/firestack / TestDnsMessageUncompressedQuerySanityCheck

Function TestDnsMessageUncompressedQuerySanityCheck

intra/doh/doh_test.go:730–736  ·  view source on GitHub ↗

Sanity check that packing |uncompressedQueryBytes| constructs a smaller query byte-for-byte, since label compression is enabled by default.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

mustUnpackFunction · 0.85
mustPackFunction · 0.85
ErrorfMethod · 0.65

Tested by

no test coverage detected