MCPcopy Index your code
hub / github.com/coder/coder / ExtractStatusCodeForTest

Function ExtractStatusCodeForTest

coderd/x/chatd/chaterror/export_test.go:5–7  ·  view source on GitHub ↗

ExtractStatusCodeForTest lets external-package tests pin signal extraction behavior without exposing the helper in production builds.

(lower string)

Source from the content-addressed store, hash-verified

3// ExtractStatusCodeForTest lets external-package tests pin signal extraction
4// behavior without exposing the helper in production builds.
5func ExtractStatusCodeForTest(lower string) int {
6 return extractStatusCode(lower)
7}
8
9// DetectProviderForTest lets external-package tests cover provider-detection
10// ordering without opening the production API surface.

Callers 1

TestExtractStatusCodeFunction · 0.92

Calls 1

extractStatusCodeFunction · 0.85

Tested by

no test coverage detected