aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/internal/cli/cmd/deploy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/internal/cli/cmd/deploy_test.go')
-rw-r--r--client/go/internal/cli/cmd/deploy_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/go/internal/cli/cmd/deploy_test.go b/client/go/internal/cli/cmd/deploy_test.go
index f34faa21de1..4e32b9bbd60 100644
--- a/client/go/internal/cli/cmd/deploy_test.go
+++ b/client/go/internal/cli/cmd/deploy_test.go
@@ -84,7 +84,7 @@ func TestDeployWait(t *testing.T) {
mockServiceStatus(client, "foo") // Look up services
assert.Nil(t, cli.Run("deploy", "--wait=3", pkg))
assert.Equal(t,
- "\nSuccess: Deployed "+pkg+" with session ID 1\n",
+ "\nSuccess: Deployed '"+pkg+"' with session ID 1\n",
stdout.String())
}
@@ -112,7 +112,7 @@ func TestDeployZipWithURLTargetArgument(t *testing.T) {
cli.httpClient = client
assert.Nil(t, cli.Run(arguments...))
assert.Equal(t,
- "\nSuccess: Deployed "+applicationPackage+" with session ID 0\n",
+ "\nSuccess: Deployed '"+applicationPackage+"' with session ID 0\n",
stdout.String())
assertDeployRequestMade("http://target:19071", client, t)
}
@@ -188,7 +188,7 @@ func assertDeploy(applicationPackage string, arguments []string, t *testing.T) {
cli.httpClient = client
assert.Nil(t, cli.Run(arguments...))
assert.Equal(t,
- "\nSuccess: Deployed "+applicationPackage+" with session ID 0\n",
+ "\nSuccess: Deployed '"+applicationPackage+"' with session ID 0\n",
stdout.String())
assertDeployRequestMade("http://127.0.0.1:19071", client, t)
}
@@ -202,7 +202,7 @@ func assertPrepare(applicationPackage string, arguments []string, t *testing.T)
cli.httpClient = client
assert.Nil(t, cli.Run(arguments...))
assert.Equal(t,
- "Success: Prepared "+applicationPackage+" with session 42\n",
+ "Success: Prepared '"+applicationPackage+"' with session 42\n",
stdout.String())
assertPackageUpload(0, "http://127.0.0.1:19071/application/v2/tenant/default/session", client, t)