mirror of https://github.com/docker/compose.git
fix: commit tests
Signed-off-by: MohammadHasan Akbari <jarqvi.jarqvi@gmail.com>
This commit is contained in:
parent
9eaba55973
commit
1ff9b758d2
|
@ -38,11 +38,11 @@ func TestCommit(t *testing.T) {
|
|||
projectName,
|
||||
"commit",
|
||||
"-a",
|
||||
"\"John Hannibal Smith <hannibal@a-team.com>\"",
|
||||
"John Hannibal Smith <hannibal@a-team.com>",
|
||||
"-c",
|
||||
"\"ENV DEBUG=true\"",
|
||||
"ENV DEBUG=true",
|
||||
"-m",
|
||||
"\"sample commit\"",
|
||||
"sample commit",
|
||||
"service",
|
||||
"service:latest",
|
||||
)
|
||||
|
@ -66,11 +66,11 @@ func TestCommitWithReplicas(t *testing.T) {
|
|||
projectName,
|
||||
"commit",
|
||||
"-a",
|
||||
"\"John Hannibal Smith <hannibal@a-team.com>\"",
|
||||
"John Hannibal Smith <hannibal@a-team.com>",
|
||||
"-c",
|
||||
"\"ENV DEBUG=true\"",
|
||||
"ENV DEBUG=true",
|
||||
"-m",
|
||||
"\"sample commit\"",
|
||||
"sample commit",
|
||||
"--index=1",
|
||||
"service-with-replicas",
|
||||
"service-with-replicas:1",
|
||||
|
@ -81,11 +81,11 @@ func TestCommitWithReplicas(t *testing.T) {
|
|||
projectName,
|
||||
"commit",
|
||||
"-a",
|
||||
"\"John Hannibal Smith <hannibal@a-team.com>\"",
|
||||
"John Hannibal Smith <hannibal@a-team.com>",
|
||||
"-c",
|
||||
"\"ENV DEBUG=true\"",
|
||||
"ENV DEBUG=true",
|
||||
"-m",
|
||||
"\"sample commit\"",
|
||||
"sample commit",
|
||||
"--index=2",
|
||||
"service-with-replicas",
|
||||
"service-with-replicas:2",
|
||||
|
|
Loading…
Reference in New Issue