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

Function TestGetGitHubReadOnly

pkg/workflow/github_readonly_test.go:7–13  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

5import "testing"
6
7func TestGetGitHubReadOnly(t *testing.T) {
8 // getGitHubReadOnly always returns true; the GitHub MCP server is unconditionally read-only.
9 result := getGitHubReadOnly()
10 if !result {
11 t.Errorf("getGitHubReadOnly() = %v, want true", result)
12 }
13}

Callers

nothing calls this directly

Calls 2

getGitHubReadOnlyFunction · 0.85
ErrorfMethod · 0.45

Tested by

no test coverage detected