Skip to content

Commit 213a788

Browse files
Copilotdata-douser
andauthored
Replace actual repo reference with placeholder in helpers_test.go
Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/86c1cb26-2977-409f-ace0-aabc4fc9cee7 Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
1 parent 72bae5b commit 213a788

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

client/cmd/helpers_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ package cmd
33
import "testing"
44

55
func TestParseRepo_Valid(t *testing.T) {
6-
owner, repo, err := parseRepo("has-ghas/dubbo")
6+
owner, repo, err := parseRepo("example-owner/example-repo")
77
if err != nil {
88
t.Fatalf("unexpected error: %v", err)
99
}
10-
if owner != "has-ghas" {
11-
t.Errorf("owner = %q, want %q", owner, "has-ghas")
10+
if owner != "example-owner" {
11+
t.Errorf("owner = %q, want %q", owner, "example-owner")
1212
}
13-
if repo != "dubbo" {
14-
t.Errorf("repo = %q, want %q", repo, "dubbo")
13+
if repo != "example-repo" {
14+
t.Errorf("repo = %q, want %q", repo, "example-repo")
1515
}
1616
}
1717

0 commit comments

Comments
 (0)