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:
parent
3a7465ed96
commit
2bec2bcf65
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue