MCPcopy Create free account
hub / github.com/github/gh-aw / TestSpec_PublicAPI_IsRunningInCI

Function TestSpec_PublicAPI_IsRunningInCI

pkg/cli/spec_test.go:88–91  ·  view source on GitHub ↗

TestSpec_PublicAPI_IsRunningInCI validates that IsRunningInCI returns a bool without panicking. Spec: "Detects CI environment"

(t *testing.T)

Source from the content-addressed store, hash-verified

86// TestSpec_PublicAPI_IsRunningInCI validates that IsRunningInCI returns a bool without panicking.
87// Spec: "Detects CI environment"
88func TestSpec_PublicAPI_IsRunningInCI(t *testing.T) {
89 result := cli.IsRunningInCI()
90 _ = result // result is environment-dependent; ensure no panic
91}
92
93// TestSpec_Types_ShellType validates the documented ShellType string alias and its constants.
94// Spec: ShellType string alias with values "bash", "zsh", "fish", "powershell", "unknown"

Callers

nothing calls this directly

Calls 1

IsRunningInCIFunction · 0.92

Tested by

no test coverage detected