MCPcopy Create free account
hub / github.com/commander-cli/commander / newValidationResult

Function newValidationResult

pkg/runtime/validator.go:17–22  ·  view source on GitHub ↗
(m matcher.MatcherResult)

Source from the content-addressed store, hash-verified

15}
16
17func newValidationResult(m matcher.MatcherResult) ValidationResult {
18 return ValidationResult{
19 Success: m.Success,
20 Diff: m.Diff,
21 }
22}
23
24// Validate validates the test results with the expected values
25// The test should hold the result and expected to validate the result

Callers 2

ValidateFunction · 0.85
TestNewValidationResultFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestNewValidationResultFunction · 0.68