MCPcopy
hub / github.com/cortesi/devd / within

Function within

route_test.go:24–28  ·  view source on GitHub ↗
(s string, e error)

Source from the content-addressed store, hash-verified

22}
23
24func within(s string, e error) bool {
25 s = strings.ToLower(s)
26 estr := strings.ToLower(fmt.Sprint(e))
27 return strings.Contains(estr, s)
28}
29
30var newSpecTests = []struct {
31 raw string

Callers 1

TestParseSpecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected