MCPcopy Create free account
hub / github.com/cel-expr/cel-go / wrapInParens

Function wrapInParens

parser/parser_test.go:3147–3149  ·  view source on GitHub ↗
(inner string, count int)

Source from the content-addressed store, hash-verified

3145}
3146
3147func wrapInParens(inner string, count int) string {
3148 return strings.Repeat("(", count) + inner + strings.Repeat(")", count)
3149}
3150
3151func TestRecursionLimit(t *testing.T) {
3152 const depth = 32

Callers 1

TestRecursionLimitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected