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

Function normalize

policy/compiler_test.go:533–538  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

531}
532
533func normalize(s string) string {
534 return strings.ReplaceAll(
535 strings.ReplaceAll(
536 strings.ReplaceAll(s, " ", ""), "\n", ""),
537 "\t", "")
538}
539
540func verifySourceInfoCoverage(t testing.TB, policy *Policy, ast *cel.Ast) {
541 t.Helper()

Callers 4

TestComposeFunction · 0.70
TestRuleComposerUnnestFunction · 0.70
setupMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected