Update error message in createRun test

Removed 'error:' prefix from expected error message in the 'missing repo returns error' test case for consistency with actual output.
This commit is contained in:
Kynan Ware 2025-09-03 10:28:39 -06:00
parent 3a7465ed96
commit 2bec2bcf65

View file

@ -109,7 +109,7 @@ func Test_createRun(t *testing.T) {
name: "missing repo returns error",
problemStatement: "task",
baseRepo: ghrepo.New("", ""),
wantErr: "error: a repository is required; re-run in a repository or supply one with --repo owner/name",
wantErr: "a repository is required; re-run in a repository or supply one with --repo owner/name",
},
{
name: "create task API failure returns error",