MCPcopy Index your code
hub / github.com/google/mtail / TestInstrString

Function TestInstrString

internal/runtime/code/instr_test.go:13–17  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func TestInstrString(t *testing.T) {
14 expected := "{match 0 0}"
15
16 testutil.ExpectNoDiff(t, code.Instr{Opcode: code.Match, Operand: 0}.String(), expected)
17}

Callers

nothing calls this directly

Calls 2

ExpectNoDiffFunction · 0.92
StringMethod · 0.65

Tested by

no test coverage detected