MCPcopy Index your code
hub / github.com/expr-lang/expr / addDumpTest

Function addDumpTest

internal/spew/dump_test.go:84–87  ·  view source on GitHub ↗

addDumpTest is a helper method to append the passed input and desired result to dumpTests

(in interface{}, wants ...string)

Source from the content-addressed store, hash-verified

82// addDumpTest is a helper method to append the passed input and desired result
83// to dumpTests
84func addDumpTest(in interface{}, wants ...string) {
85 test := dumpTest{in, wants}
86 dumpTests = append(dumpTests, test)
87}
88
89func addIntDumpTests() {
90 // Max int8.

Callers 15

addIntDumpTestsFunction · 0.85
addUintDumpTestsFunction · 0.85
addBoolDumpTestsFunction · 0.85
addFloatDumpTestsFunction · 0.85
addComplexDumpTestsFunction · 0.85
addArrayDumpTestsFunction · 0.85
addSliceDumpTestsFunction · 0.85
addStringDumpTestsFunction · 0.85
addInterfaceDumpTestsFunction · 0.85
addMapDumpTestsFunction · 0.85
addStructDumpTestsFunction · 0.85
addUintptrDumpTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…