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

Function TestSuiteParserOption

tools/celtest/test_runner.go:315–320  ·  view source on GitHub ↗

TestSuiteParserOption returns a TestRunnerOption which configures the test runner with a custom test suite parser.

(p TestSuiteParser)

Source from the content-addressed store, hash-verified

313// TestSuiteParserOption returns a TestRunnerOption which configures the test runner with
314// a custom test suite parser.
315func TestSuiteParserOption(p TestSuiteParser) TestRunnerOption {
316 return func(tr *TestRunner) (*TestRunner, error) {
317 tr.testSuiteParser = p
318 return tr, nil
319 }
320}
321
322type typeAdorner struct {
323 ast *cel.Ast

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected