Skip to content

Commit a658528

Browse files
committed
apply code change to test
1 parent 0c477f4 commit a658528

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func Test_printError(t *testing.T) {
5757
},
5858
want: want{
5959
stdout: "\n\nA new release of vcr is available: 0.0.1 → 1.0.1\nTo upgrade, run: vcr upgrade\n",
60-
stderr: "X API Error Encountered:\n \tMain issue : http error\n \tHTTP status : 404\n \tError code : 3001\n \tDetailed message : Not Found\n \tTrace ID : 1234\n \tContainer logs : container logs\n\n",
60+
stderr: "X Error Encountered: http error\n\nℹ Details:\n - HTTP Status : 404\n - Error Code : 3001\n - Message : Not Found\n - Trace ID : 1234\n\nℹ App logs captured before failure:\ncontainer logs\n\nPlease refer to the documentation or contact support for further assistance.\n",
6161
},
6262
},
6363
{

vcr/deploy/deploy_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func TestDeploy(t *testing.T) {
118118
stdout: "✓ Project \"test\" retrieved: project_id=\"id\"\n" +
119119
"✓ Source code uploaded.\n" +
120120
"✓ Package created: package_id=\"test-package-id\"\n" +
121-
" Waiting for build to start...\n" +
121+
" Waiting for build to start...\n" +
122122
"✓ Package \"test-package-id\" built successfully\n" +
123123
"✓ Instance has been deployed!\nℹ instance id: test-instance-id\nℹ instance service name: test-service-name\n➜ instance host address: test-host-url\n",
124124
},
@@ -177,7 +177,7 @@ func TestDeploy(t *testing.T) {
177177
stdout: "✓ Project \"test\" retrieved: project_id=\"id\"\n" +
178178
"✓ Source code uploaded.\n" +
179179
"✓ Package created: package_id=\"test-package-id\"\n" +
180-
" Waiting for build to start...\n" +
180+
" Waiting for build to start...\n" +
181181
"✓ Package \"test-package-id\" built successfully\n" +
182182
"✓ Instance has been deployed!\nℹ instance id: test-instance-id\nℹ instance service name: test-service-name\n➜ instance host address: test-host-url\n",
183183
},

0 commit comments

Comments
 (0)