We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 591050a commit 5d17666Copy full SHA for 5d17666
1 file changed
pkg/cmd/agent-task/capi/job_test.go
@@ -368,7 +368,7 @@ func TestCreateJob(t *testing.T) {
368
}`)),
369
)
370
},
371
- wantErr: "failed to create job: some error",
+ wantErr: "failed to create job: 500 Internal Server Error: some error",
372
373
{
374
name: "API error",
@@ -378,7 +378,7 @@ func TestCreateJob(t *testing.T) {
378
httpmock.StatusStringResponse(500, `{}`),
379
380
381
- wantErr: "failed to create job: 500 Internal Server Error",
+ wantErr: "failed to create job: 500 Internal Server Error: ",
382
383
384
name: "invalid JSON response, non-HTTP 200",
0 commit comments