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

Function createNestedMapExpr

vm/vm_test.go:1358–1364  ·  view source on GitHub ↗
(t *testing.T, depth int)

Source from the content-addressed store, hash-verified

1356}
1357
1358func createNestedMapExpr(t *testing.T, depth int) string {
1359 t.Helper()
1360 if depth == 0 {
1361 return `{"value": 1}`
1362 }
1363 return fmt.Sprintf(`{"nested": %s}`, createNestedMapExpr(t, depth-1))
1364}
1365
1366func TestVM_Limits(t *testing.T) {
1367 tests := []struct {

Callers 1

TestVM_LimitsFunction · 0.85

Calls 2

SprintfMethod · 0.80
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…